Well, I've followed the Josh's advice and added the Java EE base module, which resulted in adding everything from the enterprise cluster, a then also from webcommon, java and websvccommon. In other words, I had to add almost everything and JSON support was there ofcourse :) In webcommon cluster there is a "Javascript2 Json" module which is probably one of those which are really needed. I was looking at Json Simple library but it seems to be wrapper module, since its empty? And yes it would be very nice to refactor this and pull JSON support out, we could do that once we figure it out.
On Sun, Mar 4, 2018 at 12:19 PM, Oliver Rettig <[email protected]> wrote: > sorry, I must correct myself. I have deselected the html Editor stuff and > dpendend modules > and json support was still available in my app. So the json editor support > must be included in > some other modules. I am a bit confused. > > Hi Zoran, > > > > it is also on my todo list to figure out in detail how to integrate json > > support into my platform apps. In my netbeans ide json support works fine > > with the features described here > > > > https://dzone.com/articles/netbeans-74-json-support > > > > I havnt found the module in the plugin configuration of the installed > > netbeans ide which looks like that it includes the json support. > > > > I had a look in the netbeans source and I found that the mime type > resolver > > for json is in the module > > > > Commons Scripting language api > > > > Also I found the module > > > > Json Simple library > > > > with the api. > > > > I havnt figured out exactly which module are needed to activate json > > support. > > > > But what simply works for me is to add the module > > > > Htm Editor in the ide cluster inclusve its dependencies. This maye > includes > > more modules than needed but it works fine for me. > > > > Hope this helps a bit. If you can figure out more details about which > > modules are really needed and maybe we need to split dependencies it will > > be great if you can share what you have found. I am still interested to > > have json support without html-support in my platform apps. > > > > best regards > > Oliver > > > > > On Sat, Mar 3, 2018 at 9:41 PM, Josh Juneau <[email protected]> > wrote: > > > > Hi Zoran, > > > > > > > > The Java EE module should contain support for recognizing JSON files. > > > > Hope this helps. > > > > > > Of course thanks. The only drawback is that adding json support > requires > > > to > > > include a number of Java EE related modules. It would be good to > separate > > > this as a standalone module, I'll see if thats possible > > > > > > Cheers > > > Zoran > > > > > > > Thanks > > > > > > > > Josh Juneau > > > > [email protected] > > > > http://jj-blogger.blogspot.com > > > > https://www.apress.com/index.php/author/author/view/id/1866 > > > -- Zoran Sevarac, PhD, Assistant Professor Department of Software Engineering University of Belgrade, Faculty of Organisational Sciences <http://www.fon.rs> Neuroph <http://neuroph.sourceforge.net/> founder | Java Champion <https://community.oracle.com/community/java/java-champions> | NetBeans Dream Team <http://wiki.netbeans.org/NetBeansDreamTeam> Homepage: http://www.zoransevarac.com
