Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

toJSON() serializes a pos object for a complex custom property #7775

Closed
andrewtelnov opened this issue Jan 31, 2024 · 0 comments
Closed

toJSON() serializes a pos object for a complex custom property #7775

andrewtelnov opened this issue Jan 31, 2024 · 0 comments
Assignees
Labels
bug user issue An issue or bug reported by users
Milestone

Comments

@andrewtelnov
Copy link
Member

The following code will generate "pos" objects in question serialization:

  Serializer.addClass("optionstype",
    [
      { name: "itemValue" },
      { name: "colorId" },
      { name: "label:text", isLocalizable: true },
    ], undefined);
  Serializer.addProperty("question", { name: "options:optionstype" });
  Serializer.addProperty("question", { name: "optionsarray:optionstype[]" });
@andrewtelnov andrewtelnov added bug user issue An issue or bug reported by users labels Jan 31, 2024
@andrewtelnov andrewtelnov self-assigned this Jan 31, 2024
@andrewtelnov andrewtelnov added this to the v1.9.129 milestone Jan 31, 2024
@RomanTsukanov RomanTsukanov changed the title toJSON may serialize a "pos" object for a custom complex property toJSON() serializes a pos object for a complex custom property Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug user issue An issue or bug reported by users
Projects
None yet
Development

No branches or pull requests

1 participant