Jason.OrderedObject (jason v1.3.0) View Source

Link to this section Summary

Functions

Struct implementing a JSON object retaining order of properties.

Link to this section Types

Specs

t() :: %Jason.OrderedObject{values: [{String.Chars.t(), term()}]}

Link to this section Functions

Link to this function

%Jason.OrderedObject{}

View Source (struct)

Struct implementing a JSON object retaining order of properties.

A wrapper around a keyword (that supports non-atom keys) allowing for proper protocol implementations.

Implements the Access behaviour and Enumerable protocol with complexity similar to keywords/lists.