C# Class UnityEditor.EditorJsonUtility

Utility functions for working with JSON data and engine objects.

Afficher le fichier Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Méthodes publiques

Méthode Description
ToJson ( object obj ) : string

Generate a JSON representation of an object.

Private Methods

Méthode Description
FromJsonOverwrite ( string json, object objectToOverwrite ) : void
ToJson ( object obj, bool prettyPrint ) : string

Method Details

ToJson() public static méthode

Generate a JSON representation of an object.

public static ToJson ( object obj ) : string
obj object The object to convert to JSON form.
Résultat string