C# Class UnityEditor.EditorJsonUtility

Utility functions for working with JSON data and engine objects.

Exibir arquivo Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Methods

Method Description
ToJson ( object obj ) : string

Generate a JSON representation of an object.

Private Methods

Method Description
FromJsonOverwrite ( string json, object objectToOverwrite ) : void
ToJson ( object obj, bool prettyPrint ) : string

Method Details

ToJson() public static method

Generate a JSON representation of an object.

public static ToJson ( object obj ) : string
obj object The object to convert to JSON form.
return string