docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class MiniJsonExtensions

    Extension class for MiniJson to access values in JSON format.

    Inheritance
    object
    MiniJsonExtensions
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: UnityEngine.Purchasing.MiniJSON
    Assembly: solution.dll
    Syntax
    public static class MiniJsonExtensions

    Methods

    Name Description
    ArrayListFromJson(string)

    Convert string JSON into List of Objects.

    GetBool(Dictionary<string, object>, string)

    Get the bool in the JSON dictionary.

    GetEnum<T>(Dictionary<string, object>, string)

    Get the casted enum in the JSON dictionary.

    GetHash(Dictionary<string, object>, string)

    Get the HashDictionary of a key in JSON dictionary.

    GetLong(Dictionary<string, object>, string)

    Get the long in the JSON dictionary.

    GetString(Dictionary<string, object>, string, string)

    Get the string in the JSON dictionary.

    GetStringList(Dictionary<string, object>, string)

    Get the list of strings in the JSON dictionary.

    Get<T>(Dictionary<string, object>, string)

    Get the casted object in the JSON dictionary.

    HashtableFromJson(string)

    Convert string JSON into Dictionary.

    toJson(Dictionary<string, object>)

    Convert a Dictionary to JSON.

    toJson(Dictionary<string, string>)

    Convert a Dictionary to JSON.

    toJson(string[])

    Convert a string array to JSON.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023