Basic JSON Examplesbeginner

Settings and Preferences JSON Example

A compact configuration-style object that shows booleans, strings, and nested preferences together.

Real-world use case: Use this for app settings, user preferences, and small config examples.
1{
2 "theme": "light",
3 "locale": "en-IN",
4 "notifications": {
5 "email": true,
6 "sms": false
7 },
8 "sidebarCollapsed": false
9}

Where this shape shows up in production

Frontend settings
Preference APIs
Feature toggles

Related examples