ToJson

From RAGE Multiplayer Wiki
Revision as of 08:51, 29 November 2019 by Xabi (talk | contribs) (Created page with "Converts the given object into a JSON type string. {{CSharpContainer| {{#tag:syntaxhighlight|string {{Template:CSharp_Serverside_namespace}}Util.ToJson(object data);|lang=cs...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Converts the given object into a JSON type string.


C# Syntax

string NAPI.Util.ToJson(object data);

Parameters

  • data: The object to convert to JSON string.


Example

// Code here...