Search Results for

    Show / Hide Table of Contents

    Class JsonUtility

    Utility class that supports the serialization from Json to type and vice versa

    Inheritance
    System.Object
    JsonUtility
    Namespace: PnP.Framework.Utilities
    Assembly: PnP.Framework.dll
    Syntax
    public static class JsonUtility : object

    Methods

    Deserialize<T>(String)

    Deserializes a json string to an object of type T

    Declaration
    public static T Deserialize<T>(string json)
    Parameters
    System.String json

    json string

    Returns
    T

    Object of type T

    Type Parameters
    T

    Type of the returned object

    Serialize<T>(T)

    Serializes an object of type T to a json string

    Declaration
    public static string Serialize<T>(T obj)
    Parameters
    T obj

    Object to serialize

    Returns
    System.String

    json string

    Type Parameters
    T

    Type of obj

    Back to top PnP Framework
    Generated by DocFX with Material UI
    spacer