Package com.rabbitmq.tools.json
Class JSONWriter
java.lang.Object
com.rabbitmq.tools.json.JSONWriter
Deprecated.
Use a third-party JSON library, e.g. Jackson or Gson
Will be removed in 6.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated.void
setIndentMode
(boolean value) Deprecated.write
(boolean b) Deprecated.write
(char c) Deprecated.write
(double d) Deprecated.write
(long n) Deprecated.Deprecated.void
writeLimited
(Class<?> klass, Object object, String[] properties) Deprecated.Write only a certain subset of the object's properties and fields.
-
Constructor Details
-
JSONWriter
public JSONWriter()Deprecated. -
JSONWriter
public JSONWriter(boolean indenting) Deprecated.
-
-
Method Details
-
getIndentMode
public boolean getIndentMode()Deprecated. -
setIndentMode
public void setIndentMode(boolean value) Deprecated. -
write
Deprecated. -
write
Deprecated. -
write
Deprecated. -
write
Deprecated. -
write
Deprecated. -
writeLimited
Deprecated.Write only a certain subset of the object's properties and fields.- Parameters:
klass
- the class to look up properties etc inobject
- the objectproperties
- explicit list of property/field names to include - may be null for "all"
-