public class ToScalaEitherJSONDecoder extends Object implements JSONDecoder<JSONEither>
Constructor and Description |
---|
ToScalaEitherJSONDecoder() |
Modifier and Type | Method and Description |
---|---|
static JSONEither |
decode(String c1)
This returns a valid decoding of a CharSequence into a Scala Object
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
decode
public static JSONEither decode(String c1)
c
- the CharSequence to decodeNullPointerException
- if c is nullClassCastException
- if the string is does not match any associate types