Package com.enonic.xp.script.serializer

## Interface MapGenerator

- All Known Implementing Classes:
    `JsonMapGenerator`, `MapGeneratorBase`

      @PublicApi
      public interface MapGenerator

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `MapGenerator` | `array()` |
    `MapGenerator` | `array​(String key)` |
    `MapGenerator` | `end()` |
    `MapGenerator` | `map()` |
    `MapGenerator` | `map​(String key)` |
    `MapGenerator` | `rawValue​(Object value)` |
    `MapGenerator` | `rawValue​(String key, Object value)` |
    `MapGenerator` | `value​(Object value)` |
    `MapGenerator` | `value​(String key, Object value)` |

- - ### Method Detail

    - #### map

          MapGenerator map()

    - #### map

          MapGenerator map​(String key)

    - #### array

          MapGenerator array()

    - #### array

          MapGenerator array​(String key)

    - #### value

          MapGenerator value​(Object value)

    - #### value

          MapGenerator value​(String key,
                             Object value)

    - #### rawValue

          MapGenerator rawValue​(Object value)

    - #### rawValue

          MapGenerator rawValue​(String key,
                                Object value)

    - #### end

          MapGenerator end()