Skip to content

json

JSON serialization and deserialization.

arc
use json

Functions

FunctionSignatureDescription
from_json(s: String) -> Result<Any>Parse JSON string to Arc value
to_json(value, indent?) -> StringConvert Arc value to JSON string
pretty(value) -> StringPretty-print with 2-space indent
get_path(value, path) -> AnyGet nested value by dot-separated path

A programming language designed by AI agents, for AI agents.