API Reference > presentation-common > Content > NestedContentField > fromJSON fromJSON MethodStatic Overloads fromJSON(json, categories) Static fromJSON(json) Static Deprecated fromJSON(json, categories) Deserialize NestedContentField from JSON fromJSON(json: undefined | NestedContentFieldJSON<ClassInfoJSON>, categories: CategoryDescription[]): undefined | NestedContentField Parameter Type Description json undefined | NestedContentFieldJSON<ClassInfoJSON> categories CategoryDescription[] Returns - undefined | NestedContentField fromJSON(json) Deprecated Use an overload that takes a list of categories Deserialize NestedContentField from JSON fromJSON(json: undefined | string | NestedContentFieldJSON<ClassInfoJSON>): undefined | NestedContentField Parameter Type Description json undefined | string | NestedContentFieldJSON<ClassInfoJSON> Returns - undefined | NestedContentField Defined in presentation/common/src/presentation-common/content/Fields.ts Line 474 Last Updated: 11 June, 2024