Aerospike.Database.LINQPadDriver.Extensions Namespace
Aerospike LINDPad Driver

SetRecords..::..FromJson Method

Overload List


  Name Description
Public method FromJson(String, String, String, WritePolicy, Nullable<(Of <<'(TimeSpan>)>>), Boolean)
Converts a Json string into an ARecord which is than put into this set. Each top-level property in the Json is translated into a bin and value. Json Arrays and embedded objects are transformed into an Aerospike List or Map<string,object>. Note: If the Json string is an Json Array, each element is treated as a separate record. If the Json string is a Json Object, the following behavior occurs: If jsonBinName is provided, the Json object is treated as an Aerospike document which will be associated with that bin. if jsonBinName is null, each json property in that Json object is treated as a separate bin/value. You can also insert individual records by calling FromJson(String, String, String, WritePolicy, Nullable<(Of <<'(TimeSpan>)>>), Boolean).
Public method FromJson(String, Object, String, String, WritePolicy, Nullable<(Of <<'(TimeSpan>)>>), Boolean)
Converts a Json string into an ARecord which is than put into this set. Each top-level property in the Json is translated into a bin and value. Json Arrays and embedded objects are transformed into an Aerospike List or Map<string,object>. Note: If jsonBinName is provided the Json item will completely be placed into this bin as its' value.