Packages

c

basil.parser

JsonParse

abstract class JsonParse[Source[_]] extends AnyRef

Core abstraction of the library Contains logic to extract data from json

The main selling point is that it works on 1 character at a time and thus can work on partial json and stream of json

By trying to extract the exact data needed, it avoids creating intermediate data structure

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JsonParse
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new JsonParse()(implicit TakeOne: TakeOne[Source], ME: MonadError[Source, ParseFailure], Monoid: Monoid[Source[Char]], Cons: Cons[Source])

Type Members

  1. type CharSource = Source[Char]
  2. type Parse[I] = (Vector[PPath]) ⇒ (CharSource) ⇒ Source[(I, CharSource)]
  3. type Pipe = (CharSource) ⇒ CharSource
  4. implicit class SourceOps[A] extends AnyRef

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. implicit val ParseApp: Applicative[Parse]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  7. val discriminatorField: String
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. def parseArrayItem[I](n: Int, next: Parse[I]): Parse[I]
  18. val parseBoolean: Parse[Boolean]
  19. def parseNumber(terminator: ExpectedTerminator): Parse[Double]

    Number is broken down into 3 parts

    Number is broken down into 3 parts

    20.6e10

    part 1 - 20 terminated by . part 2 - 6 terminated by e part 3 - 10 terminated by terminator

    terminator

    to indicate what character terminates the number

  20. def parseObj[I](k: String, nextOp: Parse[I]): Parse[I]
  21. val parseString: Parse[String]
  22. val parsing: ~>[[β$0$]ParseOps[[I](Vector[PPath]) ⇒ (Source[Char]) ⇒ Source[(I, Source[Char])], β$0$], Parse]
  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped