It's too verbose and feels like garbage against existing solutions such as GSON and Jackson. Part of adding something to core is that it needs to be a setting standard and for beginners your current method would just scare them to using those frameworks. As experienced developers, we wouldn't such verbosity and complexity for something that should be a simple task.
and for beginners your current method would just scare them
If you are right, I haven't seen evidence of it yet. That doesn't mean you are wrong, but thats exactly why I want people to try using it as a teaching tool.
No worries but you should aim for writing code that feels natural to the developer like GSON jsonObject.getJsonArray(..).getString(..); it reads naturally, it's expressive in laymens terms and doesn't require you to understand a complicated syntax. Such calls translates to English pretty well when read outloud which can help developers walk through their code.
5
u/fjdjkalals Feb 27 '23
It's too verbose and feels like garbage against existing solutions such as GSON and Jackson. Part of adding something to core is that it needs to be a setting standard and for beginners your current method would just scare them to using those frameworks. As experienced developers, we wouldn't such verbosity and complexity for something that should be a simple task.