API Reference
Class
JsonMapper
Maps common CLR types to JsonValue representations.
Inheritance
- Object
- JsonMapper
Methods
FromDictionary 2 overloads
public static JsonObject FromDictionary(IDictionary dictionary) #Returns:
JsonObjectConverts a dictionary to a JsonObject.
Parameters
- dictionary System.Collections.IDictionary
- Dictionary to map.
Returns
The mapped JSON object.
public static JsonObject FromDictionary(IReadOnlyDictionary<String, Object?> dictionary) #Returns:
JsonObjectConverts a dictionary with string keys to a JsonObject.
Parameters
- dictionary System.Collections.Generic.IReadOnlyDictionary<System.String, System.Object?>
- Dictionary to map.
Returns
The mapped JSON object.
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?