Hi.
I’m parsing a JSON file. It’s probably a stupid question but still:
var jsonString= JSON::parse(jsonFile);
var categories = jsonString[(Identifier)"categories"];
When I’m not using the Identifier casting I get the following error:
error C2666: ‘juce::var::operator []’ : 2 overloads have similar conversions
juce_amalgamated.h(8640): could be 'juce::var juce::var::operator [](const juce::Identifier &) const’
or 'built-in C++ operator[(int, const char [9])'
while trying to match the argument list ‘(juce::var, const char [9])’
Is there a better way to prevent the ambiguity?
Thanks
