JsonValue Constructor

Overload List

JsonValue(Boolean) Initializes a new JsonValue struct that represents a boolean value. An implicit conversion from the bool type also exists.
JsonValue(Double) Initializes a new JsonValue struct that represents a number. An implicit conversion from the double type also exists. Some .NET numeric types such as long and decimal are not recommended to be encoded as JSON numbers. Use the ToJson extension methods if you still want to do so.
JsonValue(JsonArray) Initializes a new JsonValue struct that represents an array.
JsonValue(JsonObject) Initializes a new JsonValue struct that represents an object.
JsonValue(String) Initializes a new JsonValue struct that represents a string. An implicit conversion from the string type also exists.

See Also