eed3si9n / sjson-new

a typeclass based JSON codec that's backend independent
Apache License 2.0
36 stars 19 forks source link

Fully expose Builder/Unbuilder state #21

Closed dwijnand closed 7 years ago

dwijnand commented 7 years ago

Because the presence of the public methods:

def isInObject: Boolean = state == InObject

proves the need to be able to reason in terms of the state of a Builder or Unbuilder outside of sjsonnew.