[
https://issues.apache.org/jira/browse/FELIX-3958?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Felix Meschberger resolved FELIX-3958.
--------------------------------------
Resolution: Fixed
Implemented this JSON wrapping in Rev. 1455133
> Allow JSON output for InventoryPrinters not natively supporting JSON
> --------------------------------------------------------------------
>
> Key: FELIX-3958
> URL: https://issues.apache.org/jira/browse/FELIX-3958
> Project: Felix
> Issue Type: Improvement
> Components: Inventory
> Affects Versions: inventory-1.0.0
> Reporter: Felix Meschberger
> Assignee: Felix Meschberger
> Fix For: inventory-1.0.0
>
> Attachments: FELIX-3958.patch
>
>
> If an InventoryPrinter announces itself supporting TEXT, it will not be
> called when the client requests JSON output (through the Web Console proxy
> registration).
> I propose to extend JSON output to such that when JSON is requested and the
> printer only supports TEXT the plain text is wrapped in JSON as follows:
> {
> "value": [
> .... double-quoted lines of plain text ....
> ]
> }
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira