Skip to content

Commit

Permalink
Renaming stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
bmjames committed Mar 3, 2014
1 parent 4c79622 commit eacc32e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions core/src/main/scala/com/gu/json/JValueSyntax.scala
Expand Up @@ -41,16 +41,16 @@ trait JValueSyntax {
def runDefault(arrow: CursorArrow[J]): J =
run(arrow) getOrElse value

def stringValue: Option[String] =
def asString: Option[String] =
Lenses.strVal.get(value)

def bigIntValue: Option[BigInt] =
def asBigInt: Option[BigInt] =
Lenses.intVal.get(value)

def boolValue: Option[Boolean] =
def asBoolean: Option[Boolean] =
Lenses.boolVal.get(value)

def doubleValue: Option[Double] =
def asDouble: Option[Double] =
Lenses.doubleVal.get(value)

}
Expand Down

0 comments on commit eacc32e

Please sign in to comment.