encode static method

String encode(
  1. Mapping container
)

Encodes a map to a JSON string.

container is the map to serialize.

Returns the JSON-encoded string.

Implementation

static String encode(Mapping container) {
  return coder.encode(container);
}