Closed jsuereth closed 9 years ago
Looks like a good improvement, LGTM.
Looking forward -
The separation between SerializedValue and JsonValue was based on the thought that sbt internals might use JsonValue and plugins/activator wouldn't need to know about JSON at all. But when I ported Activator that turned out to be pretty false, Activator needs JSON. Also I think we use JSON heavily in our test suite and plugin test suites also would need it.
Where I think we might end up later:
Just a first draft idea.
I like the suggestions. A good path to walk down, IMHO.
I do like consolidating on SerialziedValue + SPickler/Unpickler for defingin protocols, while we hide details of JSON/Binary formats behind it. as @eed3si9n would be found of, we can avoid defining binary until we have pragmatic evidence it's needed.
@havocp / @eed3si9n ready for a second review if you want.
Review by @havocp / @eed3si9n
Note: this is but one minor step in the process of getting to a better Serialized Value. Primary outcomes here:
Again this is just a step in the right direction, not a full cleanup. However, I'd like to move from working state to working state, hence the intermediate PR.