Protocol-X
2015-02-15 00:36:36 UTC
I am looking for help. I have been racking my brain for days on how to parse
data in simular formats below into a map. I have yet to come up with a
solution that is very universal. + symbols indicate adding of field strings
togethere and brackets indicate what can be mapped together. Any thoughts
or suggestions would be greatly appreciated.
Example entry:
[MAINK:[
XO=xo:[XTYPE, XCHOSEN, XFAULT]],
XOCD=xocd:[]
];
/ \
|XO=xo... |
| |
|XO=xo...,XTYPE |
| / \ |
| |,XCHOSEN| |
|XO=xo + + |
| |,XFAULY | |
| \ / |
MAINK:+ // \+;
| || / \|||
| || |ziditemnm||||
| ||,ZIDITEMNM=+ +|||
| || |TOP ||||
|XOCD=xocd|+ \ /+||
| || |||
| ||,THESH |||
| || |||
| || |||
\ \\ ///
<Loading Image...>
--
View this message in context: http://groovy.329449.n5.nabble.com/parsing-dynamic-data-in-an-unorthodox-format-into-a-map-tp5722615.html
Sent from the groovy - dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
data in simular formats below into a map. I have yet to come up with a
solution that is very universal. + symbols indicate adding of field strings
togethere and brackets indicate what can be mapped together. Any thoughts
or suggestions would be greatly appreciated.
Example entry:
[MAINK:[
XO=xo:[XTYPE, XCHOSEN, XFAULT]],
XOCD=xocd:[]
];
/ \
|XO=xo... |
| |
|XO=xo...,XTYPE |
| / \ |
| |,XCHOSEN| |
|XO=xo + + |
| |,XFAULY | |
| \ / |
MAINK:+ // \+;
| || / \|||
| || |ziditemnm||||
| ||,ZIDITEMNM=+ +|||
| || |TOP ||||
|XOCD=xocd|+ \ /+||
| || |||
| ||,THESH |||
| || |||
| || |||
\ \\ ///
<Loading Image...>
--
View this message in context: http://groovy.329449.n5.nabble.com/parsing-dynamic-data-in-an-unorthodox-format-into-a-map-tp5722615.html
Sent from the groovy - dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email