JSON User Object Example

JSON User Object example with formatted output. Learn JSON syntax with practical examples.

Open JSON Formatter →

JSON User Object

Here's an example of a json user object:

Minified

{"id":1,"username":"john_doe","email":"john@example.com","active":true}

Formatted

{
  "id": 1,
  "username": "john_doe",
  "email": "john@example.com",
  "active": true
}

JavaScript Usage

// Parse JSON
const data = JSON.parse('{"id":1,"username":"john_doe","email":"john@example.com","active":true}');

// Stringify with formatting
JSON.stringify(data, null, 2);

Related Tools