Actions
Feature #72018
closedIntegrate JSON cObject
Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2015-12-02
Due date:
% Done:
0%
Estimated time:
PHP Version:
5.5
Tags:
Complexity:
Sprint Focus:
Description
Integrate a possibility to render a JSON string using a new TypoScript content object.
Example
page.10 = JSON page.10 { type = object leveltitle = TEXT leveltitle { data = leveltitle:-1,slide } levelmedia = TEXT levelmedia { data = levelmedia:-1,slide } }
- type: object | array - defines the type of the subject to be build
- *: accordant sub cObjects to be rendered
Updated by Mathias Brodala almost 9 years ago
What does as
here? AFAIK this should render a JSON encoded string in the end.
Updated by Oliver Hader almost 9 years ago
Okay as
should be type
then... defining whether the base type should be build as array or object.
Updated by Mathias Brodala almost 9 years ago
Ah, gotcha. ;-) But what about the other options? Maybe add something like options
instead which either directly accepts a list of JSON_
constant names or takes a list of properties which are internally processed to set the constants as necessary.
Updated by Riccardo De Contardi over 7 years ago
- Target version changed from 8 LTS to 9.0
Updated by Susanne Moog over 6 years ago
- Related to Epic #82839: Json API for implementing single-page applications added
Updated by Benni Mack almost 6 years ago
- Status changed from New to Rejected
I'd suggest that we do not introduce this kind of new feature for TypoScript anymore - if somebody wants to use a JSON frontend, we should build it on top of sth else than TypoScript.
Actions