Comments (7)
Cool. Will look into it. Any idea where I can get some documentation on ScalaSigParser or I need to look into scalap source code .. Thanks for the suggestion.
from sjson.
well on https://github.com/novus/salat under "Requires ScalaSig" the author of the library mentions something about it. I think the documentation is quite sparse, but I bet that by looking into the Salat source code it may become clear how to use it, that are the benefits of open source after all :-)
from sjson.
oops, wrong button :-)
from sjson.
salat afaik uses scalap and thus requires scala-compiler.jar in the classpath which i find a bit ugly.
imho you better wait for scala 2.10's reflection api - or steal my code from https://github.com/ritschwumm/scjson/tree/master/src/main/scala/scjson/reflection .
from sjson.
That's precisely the reason I have not started w/ scalap. Waiting for 2.10 is what I was looking at. But if I get it now, why not steal it. Will have a look over the weekend. Thanks a lot ..
from sjson.
Looking forward to seeing some experiments with ScalaSigParser!
It seems to be working fine for the Salat guys, mapping case classes to MongoDB objects:
https://github.com/novus/salat
from sjson.
I have seen it working in salat. I have plans too. Just need some time. Or maybe wait for 2.10 reflection apis ..
from sjson.
Related Issues (20)
- optionally remove empty objects & arrays from result HOT 4
- on deserialization Option[Long] is converted to Option[BigDecimal] HOT 4
- custom error message for missing default constructor HOT 1
- SJSON.toJSON() should handle primitive arrays HOT 1
- move to sbt 0.10.1
- Serializing case objects (singleton objects) using sjson HOT 1
- Bug in serializing composite structures like a List within a Map
- Bug in serializing structures where the OptionTypeHint is for a nested value
- Need to distinguish between cases where we have a List of objects or a List of Maps
- Cache for meta-data processing
- Problem in typeclass based serialization using Seq
- some helpers? HOT 2
- String ending with $ is not accepted HOT 3
- Certain double values throw NumberFormatExceptions HOT 1
- Upgrading Dispatch HOT 1
- scala 2.10 version? HOT 6
- scala.MatchError when expecting a tuple but only null is given HOT 1
- ignore missing fields while converting json to case class object HOT 1
- 2.11 release HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sjson.