Uses of Interface
org.ghotibeaun.json.JSONNode
-
Uses of JSONNode in org.ghotibeaun.json
Subinterfaces of JSONNode in org.ghotibeaun.json Modifier and Type Interface Description interface
JSONArray
Interface holding an array of JSONValue objectsinterface
JSONListNode
Base interface for managing list/array valuesinterface
JSONMapNode
interface
JSONObject
A JSON Object consisting of a collection of key-value pairsMethods in org.ghotibeaun.json with parameters of type JSONNode Modifier and Type Method Description default void
JSONArray. add(JSONNode node)
Add a JSONNode instance.default boolean
JSONNode. isEquivalent(JSONNode other)
Compares against another JSONNode for equivalence.default void
JSONObject. put(String key, JSONNode node)
Set a JSONNode (either a JSONObject or JSONArray) -
Uses of JSONNode in org.ghotibeaun.json.converters
Methods in org.ghotibeaun.json.converters that return JSONNode Modifier and Type Method Description abstract <T> JSONNode
AbstractClassConverter. convertToJSON(T source)
<T> JSONNode
ClassConverter. convertToJSON(T source)
Convert an object to a JSONNodestatic <T> JSONNode
Converters. convertToJSON(T source, ConverterOption<?>... options)
Convert an object to a JSONNode -
Uses of JSONNode in org.ghotibeaun.json.factory
Methods in org.ghotibeaun.json.factory that return JSONNode Modifier and Type Method Description static JSONNode
NodeFactory. parse(String data)
-
Uses of JSONNode in org.ghotibeaun.json.jsonpath
Methods in org.ghotibeaun.json.jsonpath with parameters of type JSONNode Modifier and Type Method Description JSONArray
JSONPath. select(JSONNode context)
Return a list of JSON values from a JSONNode context.<T> T
JSONPath. selectValue(JSONNode context)
Returns a single value from a JSONPath expression on a JSONNode context -
Uses of JSONNode in org.ghotibeaun.json.merge
Methods in org.ghotibeaun.json.merge with type parameters of type JSONNode Modifier and Type Method Description static <T extends JSONNode>
TMergeProcessor. merge(T primary, T secondary)
static <T extends JSONNode>
TMergeProcessor. merge(T primary, T secondary, MergeResult mergeResultStrategy)
Merge two JSON instancesstatic <T extends JSONNode>
TMergeProcessor. merge(T primary, T secondary, ArrayConflict array)
static <T extends JSONNode>
TMergeProcessor. merge(T primary, T secondary, ArrayConflict array, ObjectConflict object)
static <T extends JSONNode>
TMergeProcessor. merge(T primary, T secondary, ArrayConflict arrayStrategies, ObjectConflict objectStrategy, MergeResult mergeResultStrategy)
Invoke and return a merge JSON instancestatic <T extends JSONNode>
TMergeProcessor. merge(T primary, T secondary, ObjectConflict object)
<T extends JSONNode>
TAbstractMergeProcessor. mergeNodes(T primary, T secondary)
<T extends JSONNode>
TMergeProcess. mergeNodes(T primary, T secondary)
Return the merged result<T extends JSONNode>
TMergeProcessor. mergeNodes(T primary, T secondary)
-
Uses of JSONNode in org.ghotibeaun.json.parser
Methods in org.ghotibeaun.json.parser that return JSONNode Modifier and Type Method Description JSONNode
JSONParser. parse(File file)
Parse from a FileJSONNode
JSONParser. parse(InputStream inputStream)
Parse from an InputStream.JSONNode
JSONParser. parse(InputStream inputStream, String charSet)
Parse from an InputStream using a defined characterJSONNode
JSONParser. parse(Reader reader)
Parse from a ReaderJSONNode
JSONParser. parse(String data)
Parse from a StringJSONNode
JSONParser. parse(URL url)
Parse from a URL.JSONNode
JSONParser. parse(Path filePath)
Parse from a Path reference -
Uses of JSONNode in org.ghotibeaun.json.serializer
Methods in org.ghotibeaun.json.serializer with parameters of type JSONNode Modifier and Type Method Description Node
XMLSerializer. toXml(JSONNode jsonNode)
Node
XMLSerializer. toXml(JSONNode jsonNode, String rootElementName)
String
XMLSerializer. toXmlString(JSONNode jsonNode)
String
XMLSerializer. toXmlString(JSONNode jsonNode, String rootElementName)
void
JSONSerializer. write(File outputFile, JSONNode json, boolean prettyPrint)
void
JSONSerializer. write(OutputStream stream, JSONNode json, boolean prettyPrint)
void
JSONSerializer. write(Writer writer, JSONNode json, boolean prettyPrint)
void
JSONSerializer. write(Path outputPath, JSONNode json, boolean prettyPrint)