leaf icon indicating copy to clipboard operation
leaf copied to clipboard

Stabilize JSON Configuration Format?

Open shanoaice opened this issue 4 years ago • 0 comments

Leaf's default INI configuration is readable to humans, but it is hard to be deserialized from an Object, causing a problem to generate leaf's config from an application. On the other hand, the JSON format is marked unstable, so there is no guranatee that it will work between version changes. This is not good for GUI programmers that want to support leaf as a proxy backend, so I propose that leaf stabilize its JSON configuration format (the current format shown in the example is good enough) and perhaps add a document of it similiar to what v2ray documents its JSON configuration.

shanoaice avatar Aug 08 '21 02:08 shanoaice