mjson
mjson copied to clipboard
Implementing events
How would you implement firing an event whenever data in the Json object changed? I have a use case where I want to trigger external processing when certain values are added/updated, or deleted.
I hadn't plan on that, but it's an interesting extension. I'm thinking of creating a separate project, called mJsonPlus where I'd put all such bloat-inducing extensions that I wanted to avoid in the first place - support for JSONPath, Java Beans serialization, change events. In the shorter term, one would have to use unofficial, snapshot versions of that project.