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