View Source Jason.OrderedObject (jason v1.4.1)

Link to this section Summary

Functions

Struct implementing a JSON object retaining order of properties.

Link to this section Types

@type 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.