- Enclosing class:
- JSONOutputter
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
protected static interface JSONOutputter.Writer
A tiny little functional interface for writing a (key, value) pair.
The key should always be a String, the value can be either a String,
a Collection of valid values, or a Callback taking a Writer (this is how
we represent objects while creating JSON).