Project

General

Profile

Actions

Feature #72018

closed

Integrate JSON cObject

Added by Oliver Hader over 8 years ago. Updated over 5 years ago.

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

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Epic #82839: Json API for implementing single-page applications Closed2017-10-22

Actions
Actions #1

Updated by Oliver Hader over 8 years ago

  • Description updated (diff)
Actions #2

Updated by Mathias Brodala over 8 years ago

What does as here? AFAIK this should render a JSON encoded string in the end.

Actions #3

Updated by Oliver Hader over 8 years ago

Okay as should be type then... defining whether the base type should be build as array or object.

Actions #4

Updated by Oliver Hader over 8 years ago

  • Description updated (diff)
Actions #5

Updated by Mathias Brodala over 8 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.

Actions #6

Updated by Riccardo De Contardi about 7 years ago

  • Target version changed from 8 LTS to 9.0
Actions #7

Updated by Susanne Moog over 6 years ago

  • Target version deleted (9.0)
Actions #8

Updated by Susanne Moog almost 6 years ago

  • Related to Epic #82839: Json API for implementing single-page applications added
Actions #9

Updated by Benni Mack over 5 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

Also available in: Atom PDF