Available question text
Implement a JSON serializer that converts a nested data structure (primitives, strings, arrays/lists, and objects/maps, plus null/boolean) into a valid JSON string. The core challenge is correct traversal/serialization (typically via recursion or an explicit stack) while handling string escaping and formatting edge cases.
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
Meta
Leetcode 2633. Convert Object to JSON String
Reported Dec 19, 2025 · 1 source report
SENIOR
Source snapshot: Nov 12, 2026
View source