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

Don’t require nesting #object: in #value: in JSON arrays #783

Closed
GoogleCodeExporter opened this issue Mar 25, 2015 · 1 comment
Closed

Comments

@GoogleCodeExporter
Copy link

In Seaside 3.1.0 when working with objects in array you have to nest every 
#object: in a #value:

json array: [
  json value: [
    json object: [] ].
  json value: [
    json object: [] ].
  “ ..” ]]

We can simplify this to

json array: [
  json object: [].
  json object: [].
  “ ..” ]]

We believe this change is backward compatible and does not break any existing 
code. Nesting a #object: in a #value: is still supported but no longer required.

http://lists.squeakfoundation.org/pipermail/seaside/2014-February/030622.html

Original issue reported on code.google.com by philippe...@gmail.com on 18 Mar 2014 at 8:14

@GoogleCodeExporter
Copy link
Author

Name: Seaside-JSON-Core-pmm.29
Author: pmm
Time: 28 March 2014, 7:58:20 am
UUID: aa60816e-3c65-4113-9595-5d609ef54930
Ancestors: Seaside-JSON-Core-DiegoLont.26

Do not require nesting #object: in #value: in JSON arrays
https://code.google.com/p/seaside/issues/detail?id=783

Name: Seaside-Tests-JSON-pmm.13
Author: pmm
Time: 28 March 2014, 7:59:31 am
UUID: 3dc818f2-ce49-491e-b76d-5be971cca684
Ancestors: Seaside-Tests-JSON-DiegoLont.12

Do not require nesting #object: in #value: in JSON arrays
https://code.google.com/p/seaside/issues/detail?id=783

Original comment by philippe...@gmail.com on 28 Mar 2014 at 6:59

  • Changed state: Fixed
  • Added labels: ****
  • Removed labels: ****

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant