Version: dev

jcs

Stable function · The planner

Tier: stable · Kind: function · Topic: The planner

JuliaRust
jcsearthsci_integrator_planner::jcs::to_string

Julia

jcs(x)
jcs(x) -> String

x (dictionaries, vectors, strings, numbers, booleans, nothing) serialized as RFC 8785 canonical JSON (spec/plan.md §2.1).

Source

Rust

pub fn to_string(v: &Value) -> Result<String, String>

The canonical form of v. Fails on a number that is not finite, which JSON cannot carry.

Source · Rust docs