@@ -19,6 +19,7 @@ import scala.util.parsing.combinator.syntactical._
1919 *
2020 * @author Derek Chen-Becker <"java"+@+"chen-becker"+"."+"org">
2121 */
22+ @ deprecated(" Use The Scala Library Index to find alternatives: https://index.scala-lang.org/" , " 1.0.6" )
2223sealed abstract class JSONType {
2324 /**
2425 * This version of toString allows you to provide your own value
@@ -40,6 +41,7 @@ sealed abstract class JSONType {
4041 *
4142 * @author Derek Chen-Becker <"java"+@+"chen-becker"+"."+"org">
4243 */
44+ @ deprecated(" Use The Scala Library Index to find alternatives: https://index.scala-lang.org/" , " 1.0.6" )
4345object JSONFormat {
4446 /**
4547 * This type defines a function that can be used to
@@ -91,6 +93,7 @@ object JSONFormat {
9193 *
9294 * @author Derek Chen-Becker <"java"+@+"chen-becker"+"."+"org">
9395 */
96+ @ deprecated(" Use The Scala Library Index to find alternatives: https://index.scala-lang.org/" , " 1.0.6" )
9497case class JSONObject (obj : Map [String ,Any ]) extends JSONType {
9598 def toString (formatter : JSONFormat .ValueFormatter ) =
9699 " {" + obj.map({ case (k,v) => formatter(k.toString) + " : " + formatter(v) }).mkString(" , " ) + " }"
@@ -100,6 +103,7 @@ case class JSONObject (obj : Map[String,Any]) extends JSONType {
100103 * Represents a JSON Array (list).
101104 * @author Derek Chen-Becker <"java"+@+"chen-becker"+"."+"org">
102105 */
106+ @ deprecated(" Use The Scala Library Index to find alternatives: https://index.scala-lang.org/" , " 1.0.6" )
103107case class JSONArray (list : List [Any ]) extends JSONType {
104108 def toString (formatter : JSONFormat .ValueFormatter ) =
105109 " [" + list.map(formatter).mkString(" , " ) + " ]"
@@ -110,6 +114,7 @@ case class JSONArray (list : List[Any]) extends JSONType {
110114 *
111115 * @author Derek Chen-Becker <"java"+@+"chen-becker"+"."+"org">
112116 */
117+ @ deprecated(" Use The Scala Library Index to find alternatives: https://index.scala-lang.org/" , " 1.0.6" )
113118class Parser extends StdTokenParsers with ImplicitConversions {
114119 // Fill in abstract defs
115120 type Tokens = Lexer
0 commit comments