API Reference > presentation-common > Content > CategoryDescription > CategoryDescription.toJSON CategoryDescription.toJSON Function Serialize given category to JSON toJSON(category: CategoryDescription): CategoryDescriptionJSON Parameter Type Description category CategoryDescription Returns - CategoryDescriptionJSON Defined in presentation/common/src/presentation-common/content/Category.ts Line 34 Last Updated: 12 June, 2024