server.json?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

server.json?

Romain Manni-Bucau
Hi all,

I noticed KubernetesMembershipProvider implied the addition of a JSONParser
in tomcat codebase and wonder if there is some plan to support a
server.json (server.xml but in json format).
Since tomcat server.xml does not really use namespaces i guess it can be
rewritten wiring the parser to a string output and applying the Digester on
an in memory xml or so (point is it does not look crazy as bridge).

The rational behind that is that JSON is always well supported in all
languages but not XML and config files are rarely generated from java
(where XML is a no brainer) but more from ruby, python and more recently
typescript where XML is not so lovely to use so think JSON can help
automotion there.

Wdyt?

Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
<https://www.packtpub.com/application-development/java-ee-8-high-performance>