concept set in category lift

This is an excerpt from Manning's book Lift in Action: The Simply Functional Web Framework for Scala.
This is one of the most interesting aspects of Lift Persistence. Record was designed with the idea that persistence has common idioms no matter what the actual backend implementation was doing to interact with the data. Record is a layer that gives users create, read, update, and delete (CRUD) semantics and a set of helpers for displaying form fields, operating validation, and so forth. All this without actually providing the connection to a concrete persistence implementation.
Here the members of JsonDSL are imported into the current compilation scope, which includes a set of implicit conversions that allow you to supply regular Scala types like tuples to the JSON render method. The result of the render method is then passed to compact, which does the serialization to a string. As the name implies, the compact method will create a compacted JSON string so it takes up as little room as possible. Alternatively, if you’d prefer nicely structured output, you can replace compact with pretty, and it will render a pretty printed version of the JSON output, complete with structured spacing.