Uses of Class
oracle.nosql.driver.values.JsonOptions
-
Packages that use JsonOptions Package Description 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.ops
Methods in oracle.nosql.driver.ops with parameters of type JsonOptions Modifier and Type Method Description DeleteRequest
DeleteRequest. setKeyFromJson(java.lang.String jsonValue, JsonOptions options)
Sets the key to use for the delete operation based on a JSON string.GetRequest
GetRequest. setKeyFromJson(java.lang.String jsonValue, JsonOptions options)
Sets the key to use for the get operation based on a JSON string.PutRequest
PutRequest. setValueFromJson(java.lang.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
Methods in oracle.nosql.driver.values that return JsonOptions Modifier and Type Method Description JsonOptions
JsonOptions. setAllowComments(boolean value)
Tells the system to allow C/Java style comments embedded in JSON of the format \/* comment *\/ on input.JsonOptions
JsonOptions. setAllowNonNumericNumbers(boolean value)
Tells the system to allow non-numeric values as numbers, such as NaN, on JSON input.JsonOptions
JsonOptions. setAllowSingleQuotes(boolean value)
Tells the system to allow single quotes instead of double quotes in JSON on input.JsonOptions
JsonOptions. setNumericAsNumber(boolean value)
Tells the JSON parser on input to represent all numeric values asNumberValue
.JsonOptions
JsonOptions. setPrettyPrint(boolean value)
Tells the system to pretty print JSON on output.JsonOptions
JsonOptions. setTimestampAsLong(boolean value)
Tells the system to representTimestampValue
instances in a long representation when exported as JSON.JsonOptions
JsonOptions. setTimestampAsString(boolean value)
Tells the system to representTimestampValue
instances 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 FieldValue
FieldValue. createFromJson(java.io.InputStream jsonInput, JsonOptions options)
Constructs a new FieldValue instance based on JSON read from the InputStream provided.static FieldValue
FieldValue. createFromJson(java.io.Reader jsonInput, JsonOptions options)
Constructs a new FieldValue instance based on JSON read from the Reader provided.static FieldValue
FieldValue. createFromJson(java.lang.String jsonInput, JsonOptions options)
Constructs a new FieldValue instance based on the JSON string provided.MapValue
MapValue. putFromJson(java.lang.String name, java.lang.String jsonString, JsonOptions options)
Sets the named field based on the JSON string provided.java.lang.String
ArrayValue. toJson(JsonOptions options)
Constructs a JSON representation of the ArrayValue.java.lang.String
BinaryValue. toJson(JsonOptions options)
Returns a quoted string of the value as Base64.java.lang.String
DoubleValue. toJson(JsonOptions options)
abstract java.lang.String
FieldValue. toJson(JsonOptions options)
Returns a JSON representation of the value using the options, if specified.java.lang.String
IntegerValue. toJson(JsonOptions options)
java.lang.String
JsonNullValue. toJson(JsonOptions options)
java.lang.String
LongValue. toJson(JsonOptions options)
java.lang.String
MapValue. toJson(JsonOptions options)
java.lang.String
NumberValue. toJson(JsonOptions options)
java.lang.String
StringValue. toJson(JsonOptions options)
java.lang.String
TimestampValue. toJson(JsonOptions options)
Returns the JSON value of the instance.
-