[YANGTOOLS-436] Gson codec lost correct type Created: 27/Mar/15 Updated: 10/Apr/22 Resolved: 07/Apr/15 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Jakub Toth | Assignee: | Jan Hajnar |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Attachments: |
|
| External issue ID: | 2909 |
| Description |
|
Hi, I have a problem with parse xml to json. If I do double referencing on leaf, gson evaluates type of uint32 like string. input: yang context (for full files see attachments): prefix "mainmod"; container cont { } module cont-augment-module { prefix "cntaugmod"; import main-module {prefix mamo; revision-date 2013-12-2;} revision 2013-12-2 { augment "/mamo:cont" { } leaf lf7 { } |
| Comments |
| Comment by Jakub Toth [ 27/Mar/15 ] |
|
Attachment main-module.yang has been added with description: main-modul.yang |
| Comment by Jakub Toth [ 27/Mar/15 ] |
|
Attachment cont-augment-module.yang has been added with description: cont-augment-module.yang |
| Comment by Jan Hajnar [ 30/Mar/15 ] |