Details
Description
We have our own JSON serializer, but there is no way to publish an already formatted message. Can we have maybe a Channel.publishRaw() or Channel.publishJson() to do this?
Activity
Greg Wilkins
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Assignee | Greg Wilkins [ gregw ] |
Greg Wilkins
made changes -
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Fix Version/s | 6.1.4 [ 13517 ] | |
| Resolution | Fixed [ 1 ] |
I think this jira's title should be changed to "write some bloody javadoc" !-)
Look at the innerclass JSON.Literal
If our JSON generator finds and instance of JSON.Literal at any point in
the Object graph, then it will use the literal JSON included in the instance
instead of generating new JSON content.
I will improve the javadoc for this, although there is a tiny bit about it
in the JSON class already.