[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-5280) JSON reader config being corrupted

Tom Fennelly (JIRA) jira-events at lists.jboss.org
Sat Nov 28 15:09:29 EST 2009


    [ https://jira.jboss.org/jira/browse/JBIDE-5280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12497068#action_12497068 ] 

Tom Fennelly commented on JBIDE-5280:
-------------------------------------

If you open the smooks config ina text editor, you'll see that the JSON read er config is:

    <json:reader rootName="order" keyWhitspaceReplacement="-">
	    <json:keyMap>
	    	<json:key from="date&amp;time" to="date-and-time" />
	    </json:keyMap>
	</json:reader>

Then open the same config with the Smooks editor, make a mod to the Input task - just set the Input Type to JSON... nothing more needed.  Save and look at the source... the config is mangled to:

  <json12:reader> 
    <json12:keyMap/> 
  </json12:reader>


> JSON reader config being corrupted
> ----------------------------------
>
>                 Key: JBIDE-5280
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-5280
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: smooks
>            Reporter: Tom Fennelly
>            Assignee: Xue Peng
>             Fix For: 3.1.0.CR1
>
>
> Use the "json-to-java" config... the <json:reader> config gets totally corrupted - looses the key mappings etc.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list