Class JsonAssetProvider
Converts JSON serialized text into the requested object.
Inherited Members
Namespace: UnityEngine.ResourceManagement.ResourceProviders
Syntax
public class JsonAssetProvider : TextDataProvider, IResourceProvider, IInitializableObject
Methods
Convert(Type, String)
Converts raw text into requested object type via JSONUtility.FromJson.
Declaration
public override object Convert(Type type, string text)
Parameters
Type | Name | Description |
---|---|---|
Type | type | |
String | text | The text to convert. |
Returns
Type | Description |
---|---|
Object | Converted object |