summaryrefslogtreecommitdiff
path: root/src/main/scala/cc/spray/json/lenses/JsonLenses.scala
blob: 8ffc12c98aea6d8da18a078b108db3ecd92f75f8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package cc.spray.json
package lenses

/**
 * An aggregate option to import all of the functionality of JsonLenses with one
 * import.
 */
object JsonLenses extends
  ScalarLenses with
  OptionLenses with
  SeqLenses with
  Operations with
  JsonPathIntegration {

  implicit def strToField(name: String): ScalarProjection = field(name)
  implicit def symbolToField(sym: Symbol): ScalarProjection = field(sym.name)

}