MapEncoder

public protocol MapEncoder

A protocol that allows you to transform a value into a MapPrimitive (JSON) value. This protocol is used to add more type support to the Map class.