Json.Serialize method
Model to json string.
public static string Serialize(object obj, bool pretty)
| parameter | description |
|---|---|
| obj | Model. |
| pretty | Use pretty output. |
Return Value
Model as json string.
See Also
- class Json
- namespace LiTools.Helpers.Encoding
Model to json string.
public static string Serialize(object obj, bool pretty)
| parameter | description |
|---|---|
| obj | Model. |
| pretty | Use pretty output. |
Model as json string.