Kit Documentation
Kit Documentation
Kit Reference
Kit.Parsers
JsonParser Class
JsonParser Methods
FromJson(T) Method
Merge Method
Read Method
ToJson Method
Write Method
JsonParser
ToJson Method
Converts an object to Json.
Namespace:
Kit.Parsers
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntax
C#
Copy
public
static
string
ToJson
(
Object
data
,
bool
formatted
=
true
)
Request Example
View Source
Parameters
data
Type:
System
Object
The object to convert.
formatted
(Optional)
Type:
System
Boolean
Whether to return formatted Json.
Return Value
Type:
String
See Also
Reference
JsonParser Class
Kit.Parsers Namespace
Send comments on this topic to
agam@frag-games.com