Uses of Class
oracle.nosql.driver.values.JsonOptions
- 
Packages that use JsonOptions Package Description oracle.nosql.driver Contains the public API for using the Oracle NoSQL Database as well as configuration and common parameter classes used in database operations.oracle.nosql.driver.ops Contains the input and response classes used for Oracle NoSQL Database operations.oracle.nosql.driver.values The classes in this package are used to represent and manipulate data in the Oracle NoSQL Database. - 
- 
Uses of JsonOptions in oracle.nosql.driver
Methods in oracle.nosql.driver with parameters of type JsonOptions Modifier and Type Method Description static StringNson. toJsonString(byte[] nson, JsonOptions options)Returns the JSON string of given bytes in NSON.static StringNson. toJsonString(oracle.nosql.driver.util.ByteInputStream in, JsonOptions options)Returns the JSON string of given input stream of NSON bytes. - 
Uses of JsonOptions in oracle.nosql.driver.ops
Methods in oracle.nosql.driver.ops with parameters of type JsonOptions Modifier and Type Method Description DeleteRequestDeleteRequest. setKeyFromJson(String jsonValue, JsonOptions options)Sets the key to use for the delete operation based on a JSON string.GetRequestGetRequest. setKeyFromJson(String jsonValue, JsonOptions options)Sets the key to use for the get operation based on a JSON string.PutRequestPutRequest. setValueFromJson(String jsonValue, JsonOptions options)Sets the value to use for the put operation based on a JSON string. - 
Uses of JsonOptions in oracle.nosql.driver.values
Fields in oracle.nosql.driver.values declared as JsonOptions Modifier and Type Field Description static JsonOptionsJsonOptions. PRETTYStaticJsonOptionsinstance with default values for all but the pretty-print option, which is set to true.Methods in oracle.nosql.driver.values that return JsonOptions Modifier and Type Method Description JsonOptionsJsonOptions. setAllowComments(boolean value)Tells the system to allow C/Java style comments embedded in JSON of the format \/* comment *\/ on input.JsonOptionsJsonOptions. setAllowNonNumericNumbers(boolean value)Tells the system to allow non-numeric values as numbers, such as NaN, on JSON input.JsonOptionsJsonOptions. setAllowSingleQuotes(boolean value)Tells the system to allow single quotes instead of double quotes in JSON on input.JsonOptionsJsonOptions. setMaintainInsertionOrder(boolean value)Tells the system to use a Map that maintains insertion order when parsing JSON.JsonOptionsJsonOptions. setNumericAsNumber(boolean value)Tells the JSON parser on input to represent all numeric values asNumberValue.JsonOptionsJsonOptions. setPrettyPrint(boolean value)Tells the system to pretty print JSON on output.JsonOptionsJsonOptions. setTimestampAsLong(boolean value)Tells the system to representTimestampValueinstances in a long representation when exported as JSON.JsonOptionsJsonOptions. setTimestampAsString(boolean value)Tells the system to representTimestampValueinstances in a string representation when exported as JSON.Methods in oracle.nosql.driver.values with parameters of type JsonOptions Modifier and Type Method Description static FieldValueFieldValue. createFromJson(InputStream jsonInput, JsonOptions options)Constructs a new FieldValue instance based on JSON read from the InputStream provided.static FieldValueFieldValue. createFromJson(Reader jsonInput, JsonOptions options)Constructs a new FieldValue instance based on JSON read from the Reader provided.static FieldValueFieldValue. createFromJson(String jsonInput, JsonOptions options)Constructs a new FieldValue instance based on the JSON string provided.static voidJsonUtils. createNsonFromJson(oracle.nosql.driver.util.ByteOutputStream bos, com.fasterxml.jackson.core.JsonParser jp, boolean getNext, JsonOptions options)Constructs NSON based on arbitrary JSON from the incoming JSON, streaming it into the providedByteOutputStream.static voidJsonUtils. createNsonFromJson(oracle.nosql.driver.util.ByteOutputStream bos, InputStream jsonInput, JsonOptions options)static voidJsonUtils. createNsonFromJson(oracle.nosql.driver.util.ByteOutputStream bos, Reader jsonInput, JsonOptions options)static voidJsonUtils. createNsonFromJson(oracle.nosql.driver.util.ByteOutputStream bos, String jsonInput, JsonOptions options)static FieldValueJsonUtils. createValueFromJson(InputStream jsonInput, JsonOptions options)static FieldValueJsonUtils. createValueFromJson(Reader jsonInput, JsonOptions options)static FieldValueJsonUtils. createValueFromJson(String jsonInput, JsonOptions options)static StringJsonUtils. fromNson(oracle.nosql.driver.util.ByteInputStream bis, JsonOptions options)Returns JSON from NSONstatic voidJsonUtils. generateEventsFromJson(FieldValueEventHandler handler, com.fasterxml.jackson.core.JsonParser jp, boolean getNext, JsonOptions options)GeneratesFieldValueEventHandlerevents from JSON input.static booleanJsonUtils. jsonEquals(String s1, String s2, JsonOptions options)MapValueMapValue. putFromJson(String name, String jsonString, JsonOptions options)Sets the named field based on the JSON string provided.StringBinaryValue. toJson(JsonOptions options)Returns a quoted string of the value as Base64.StringDoubleValue. toJson(JsonOptions options)StringEmptyValue. toJson(JsonOptions options)StringFieldValue. toJson(JsonOptions options)Returns a JSON representation of the value using the options, if specified.StringIntegerValue. toJson(JsonOptions options)StringJsonNullValue. toJson(JsonOptions options)StringLongValue. toJson(JsonOptions options)StringNullValue. toJson(JsonOptions options)StringNumberValue. toJson(JsonOptions options)StringStringValue. toJson(JsonOptions options)StringTimestampValue. toJson(JsonOptions options)Returns the JSON value of the instance.Constructors in oracle.nosql.driver.values with parameters of type JsonOptions Constructor Description JsonPrettySerializer(int indentation, JsonOptions options)Creates a new JsonPrettySerializer using the object indentation provided.JsonPrettySerializer(JsonOptions options)Creates a new JsonPrettySerializer using default indentation.JsonReader(File file, JsonOptions options)Creates an iterator over JSON objects in the specified file.JsonReader(InputStream input, JsonOptions options)Creates an iterator over JSON objects provided by the InputStream.JsonReader(String jsonString, JsonOptions options)Creates an iterator over JSON objects in a string.JsonSerializer(JsonOptions options)Creates a new JsonSerializer. 
 -