Skip to content

Commit

Permalink
Switch to fast, hand-written parser, remove parboiled dependency
Browse files Browse the repository at this point in the history
Closes #86, #108
  • Loading branch information
sirthias committed Sep 19, 2014
1 parent 73345de commit 43a2319
Show file tree
Hide file tree
Showing 5 changed files with 295 additions and 91 deletions.
1 change: 0 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ scalacOptions ++= Seq("-feature", "-language:_", "-unchecked", "-deprecation", "
resolvers += Opts.resolver.sonatypeReleases

libraryDependencies ++= Seq(
"org.parboiled" %% "parboiled-scala" % "1.1.6" % "compile",
"org.specs2" %% "specs2" % "2.4.2" % "test",
"org.scalacheck" %% "scalacheck" % "1.11.5" % "test"
)
Expand Down
2 changes: 1 addition & 1 deletion src/main/scala/spray/json/JsValue.scala
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ package spray.json

import collection.immutable.ListMap


/**
* The general type of a JSON AST node.
*/
Expand Down Expand Up @@ -89,6 +88,7 @@ object JsNumber {
}
def apply(n: BigInt) = new JsNumber(BigDecimal(n))
def apply(n: String) = new JsNumber(BigDecimal(n))
def apply(n: Array[Char]) = new JsNumber(BigDecimal(n))
}

/**
Expand Down
Loading

0 comments on commit 43a2319

Please sign in to comment.