struct ${0:T}
{
struct Bar
{
int[] entries;
}
string name;
JSONValue[] foo; // or other types than JSONValue, e.g. when mir-ion, vibe.d or other popular JSON libraries are included
Bar bar;
}
open questions:
what to do for language keywords (add trailing underscore, which UDA to use to force another name)
see goland
the idea of this command is to mainly aid in developing vibe.d applications, but would apply to other JSON areas too.
e.g. convert
to
open questions: