play-json icon indicating copy to clipboard operation
play-json copied to clipboard

Split core library from high-level utilities

Open gmethvin opened this issue 7 years ago • 1 comments

Libraries like Play Framework usually only need to depend on the low-level library for reading and writing JSON: JsValue, Json.fromJson/Json.stringify, etc. Many of the newer changes in play-json relate to high-level functionality like the macros and configuration that would typically only be used by the end user.

It may be useful to separate this "core" library from the more high-level parts of the library like the macros and functional transformers. This way we can add features and make binary incompatible changes to the macros (for example) without creating compatibility issues with libraries like Play.

gmethvin avatar Feb 08 '17 08:02 gmethvin

The JsonFacade trait (see #34 ) can be a good start point.

cchantep avatar Feb 08 '17 09:02 cchantep