Improvements to Mapper to exclude fields from encodeAsJSON
Two improvements to mapper have been discussed on the mailing list:
1) Change BaseMappedField's asJsonField to return a Box such that fields can be excluded in MetaMapper's encodeAsJSON
2) It should be possible to prevent MappedFields from beeing written
Thread on the mailing list:
http://groups.google.com/group/liftweb/browse_thread/thread/224b62561586c16d
1) Change BaseMappedField's asJsonField to return a Box such that fields can be excluded in MetaMapper's encodeAsJSON
2) It should be possible to prevent MappedFields from beeing written
Thread on the mailing list:
http://groups.google.com/group/liftweb/browse_thread/thread/224b62561586c16d
Leave a comment
(In revision:e126c61ac694e3f62536d031d0663abe01396217) Closes #477. Breaking Change. asJsonValue returned as a Box[JValue] to allow for omitting a field
Branch: master
Branch: master