Builds, serializes, and parses the self-describing type JSON used by Skir reflection,
SkirRPC's list endpoint, and Skir Studio.
Summary
Functions
Parses a %Skir.RPC.TypeDescriptor{} from a UTF-8 JSON string.
Like from_json/1, but raises ArgumentError on failure.
Parses a %Skir.RPC.TypeDescriptor{} from a decoded JSON map.
Like from_map/1, but raises ArgumentError on failure.
Builds a %Skir.RPC.TypeDescriptor{} from a Skir.type().
Returns the 2-space pretty-printed JSON string for a Skir.type() or %Skir.RPC.TypeDescriptor{}.
Returns a JSON-compatible map representation of a Skir.type() or %Skir.RPC.TypeDescriptor{}.
Types
Functions
Parses a %Skir.RPC.TypeDescriptor{} from a UTF-8 JSON string.
Like from_json/1, but raises ArgumentError on failure.
Parses a %Skir.RPC.TypeDescriptor{} from a decoded JSON map.
Like from_map/1, but raises ArgumentError on failure.
Builds a %Skir.RPC.TypeDescriptor{} from a Skir.type().
Returns the 2-space pretty-printed JSON string for a Skir.type() or %Skir.RPC.TypeDescriptor{}.
Returns a JSON-compatible map representation of a Skir.type() or %Skir.RPC.TypeDescriptor{}.