Forums > Java

Dict in Java ?

Nov 29 2012 | 11:20 pm

Hi !

here is written that :
Support for using Dict objects in mxj mirrors that of the implementation for JavaScript.
well , hummmmm …. has someone luck with it ? I cant find the class object . does this description tells something different ?

Nov 30 2012 | 7:49 am

Despite the documentation dict is not implemented into Java. I had some correspondence about that with cycling74 about a year ago. Back then there wasn’t a date set when it will be ready.


Nov 30 2012 | 10:56 am

Thank you for the clarification Jan .

Mar 30 2013 | 8:42 pm

Just stumbled upon this. Either it should be implemented or the documentation should be updated.
Current situation is frustrating :-/

Apr 01 2013 | 5:15 am

I’ve just started poking around with both JavaScript and Java for extending my Max applications, so sorry if it seems I’m asking the obvious.

The documentation states that [dict] functionality exists equally within [mxj] as it does in [js], but it in fact does not?
Then am I right in understanding that it is not at all possible to access a [dict] from within an [mxj] object?

Apr 01 2013 | 1:03 pm

Correct: at the moment, dictionaries aren’t accessible to mxj.

Apr 01 2013 | 1:33 pm

Damn. Thanks for the clarification.

Dec 14 2014 | 11:51 am

but, as of Max 7, dict is apparently supported by mxj. from the Max 7 refpage: "Support for using Dict objects in mxj mirrors that of the implementation for JavaScript."


Dec 14 2014 | 12:05 pm

this sentence is as old as the dict object. so far it simply hasn’t been true. I did not try yet with Max 7 but i believe it is not implemented. the plans at c74 are to grant java functionality the way it is, but not to implement new features.

Dec 14 2014 | 4:52 pm

Hi Jan, you’re right. . . . i just tried with 7 and no dice. thanks for the info.

May 21 2016 | 1:23 pm

You could save your dictionary as a json and use a parse it to parse it. In the same way you would get the contents of a dictionary. Correct?

Viewing 11 posts - 1 through 11 (of 11 total)

Forums > Java