Why do I get “$outer” In my json string when using lift-json?
问题 Let me preface by saying I am new to working with json and serialization and such. I am trying to create some json from some case classes. Here is my code from a scala worksheet I'm playing with: import net.liftweb.json.DefaultFormats import net.liftweb.json.Serialization.write implicit val formats = DefaultFormats // DBObjectTypes is an enumeration not shown in this snippet. def update(dbObject: DBObjectTypes, updatePair: Map[String, Any]): Unit = { case class Query(objectType: String, id: