| Package | Description |
|---|---|
| us.bpsm.edn.printer |
This package provides a Printer to convert values to edn text.
|
| us.bpsm.edn.protocols |
This package provides the basis for implementing the printer.
|
| Modifier and Type | Method and Description |
|---|---|
static Protocol.Builder<Printer.Fn<?>> |
Printers.defaultProtocolBuilder()
Returns a
Protocol.Builder
configured to produce a Protocol which knows how to print
these types of values:
BigDecimal
BigInteger
Boolean
Byte (as an integer)
CharSequence (as a string literal)
Character (as a character literal)
Date (as #inst)
Double
Float
GregorianCalendar (as #inst)
Integer
Keyword
List
Long
Map
Set
Short (as an integer)
Symbol
Tag
TaggedValue
Timestamp (as #inst)
UUID (as #uuid)
|
static Protocol.Builder<Printer.Fn<?>> |
Printers.prettyProtocolBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static <F> Protocol.Builder<F> |
Protocols.builder(String name)
Return a new, empty single-use
Protocol.Builder with
the given name. |
Protocol.Builder<F> |
Protocol.Builder.put(Class selfClass,
F fn)
Associate the
F fn with the class selfClass. |
Copyright © 2019. All rights reserved.