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 |
---|---|---|
System.Type | type | |
System.String | text | The text to convert. |
Returns
Type | Description |
---|---|
System.Object | Converted object |