Written by

Question Touggourt · Sep 2

JSONNAME with JSON Adapter

Getting this error when create a class in IRIS, any clues?

Thanks

Product version: IRIS 2024.1

Comments

Touggourt  Sep 2 to Tani Frankel

Don't know, I got classes from a clients where I'm suppose to import & compile in our IRIS, so should I be adding a parameters as below?

  

0
Tani Frankel  Sep 2 to Touggourt

Probably best you ask whoever sent you these classes.

In general though %JSON.Adaptor has the %JSONFIELDNAME parameter, and not JSONNAME. Hence the error you got.

[There is an existing package shared in the past on the Community, see for example here, with some similar functionality, that did have this JSONNAME parameter. But I don't know if this is related in any way to the code you have]

[Note I also see you are using a %DynamicObject property ("Rationale"), and depending on what you expect to do with it, I don't know how well that will play with the %JSON.Adaptor export, per your use-case.]

0