API Reference > presentation-common > Core > RelatedClassInfo > RelatedClassInfo.toCompressedJSON RelatedClassInfo.toCompressedJSON Function Serialize RelatedClassInfo to compressed JSON toCompressedJSON(classInfo: RelatedClassInfo, classesMap: { T }): RelatedClassInfoJSON<string> Parameter Type Description classInfo RelatedClassInfo classesMap { T } Returns - RelatedClassInfoJSON<string> Defined in presentation/common/src/presentation-common/EC.ts Line 248 Last Updated: 11 June, 2024