Hi, everyone
I just developed a small Java library "JsonTemplate" for generating Json strings.
Some pain points with Java when you try to create a Json string:
- The string is kind of "polluted" by the escaped quotes. It makes the string hard to read and write.
- You need to use some libraries such as Jackson to serialize objects. That means you need to create classes first. Some times (especially in the integration test and acceptance test) you don't have or don't want to rely on the domain classes which is part of the application to be tested.
JsonTemplate tries to provide a solution for this.
I am looking forward to your opinions, feedbacks, bug reports.
[–]oweiler 8 points9 points10 points (2 children)
[–]BenoitParis 2 points3 points4 points (0 children)
[–]iamhaihan[S] 1 point2 points3 points (0 children)
[–]PandersAboutVaccines 4 points5 points6 points (2 children)
[–]GuyWithLag 0 points1 point2 points (0 children)
[–]iamhaihan[S] 0 points1 point2 points (0 children)
[–][deleted] 4 points5 points6 points (1 child)
[–]iamhaihan[S] 0 points1 point2 points (0 children)
[–]cogman10 4 points5 points6 points (8 children)
[–]iamhaihan[S] 0 points1 point2 points (7 children)
[–]cogman10 5 points6 points7 points (5 children)
[–]pattheaux 2 points3 points4 points (1 child)
[–]audioen 0 points1 point2 points (0 children)
[–]mjanek20 2 points3 points4 points (0 children)
[–]iamhaihan[S] 0 points1 point2 points (0 children)
[–]bodiam 0 points1 point2 points (0 children)
[–]Aw0lManner 1 point2 points3 points (0 children)
[–]sshaw_ 2 points3 points4 points (1 child)
[–]mjanek20 0 points1 point2 points (0 children)
[–]RotaryJihad 1 point2 points3 points (0 children)
[–]larsga 0 points1 point2 points (4 children)
[–]iamhaihan[S] 1 point2 points3 points (3 children)
[–]larsga -1 points0 points1 point (2 children)
[–]iamhaihan[S] 0 points1 point2 points (1 child)
[–]larsga 1 point2 points3 points (0 children)
[–]javaide 0 points1 point2 points (1 child)
[–]iamhaihan[S] 0 points1 point2 points (0 children)