Print the object x in human-friendly JSON format, with newlines and indentation.
import "encoding/json" import "fmt"
buffer, err := json.MarshalIndent(x, "", " ") if err != nil { log.Fatal(err) } fmt.Println(string(buffer))
import 'dart:convert';
var encoded = const JsonEncoder.withIndent(' ').convert(x); print(encoded);
import json
print(json.dumps(x, indent=4))
require 'json'
puts JSON.pretty_generate(x)
No security, no password. Other people might choose the same nickname.