rsanchez / json

Output ExpressionEngine data in JSON format.
http://devot-ee.com/add-ons/json/
100 stars 236 forks source link

change node name #64

Open motoracer81 opened 6 years ago

motoracer81 commented 6 years ago

Hello, I download data from the channel through the code: {exp: json: entries channel = "about-us" fields = "field89832 | field87842"} The code is downloaded correctly. However, I would like to change the names of columns that are generated in the json file. Or: [{"entry_id": 1, "field89832": "lorem ipsum", "field87842": "lorem ipsum"}] On: [{"entry_id": 1, "title": "lorem ipsum", "content": "lorem ipsum"}] Change: field89832 -> title field87842 -> content If it is possible?

Girlisgone commented 6 years ago

Why am I getting this email?

Sent from the Yahoo Mail app. Get yours!

On Thu, Mar 29, 2018 at 7:58 AM, motoracer81notifications@github.com wrote:
Hello, I download data from the channel through the code: {exp: json: entries channel = "about-us" fields = "field89832 | field87842"} The code is downloaded correctly. However, I would like to change the names of columns that are generated in the json file. Or: [{"entry_id": 1, "field89832": "lorem ipsum", "field87842": "lorem ipsum"}] On: [{"entry_id": 1, "title": "lorem ipsum", "content": "lorem ipsum"}] Change: field89832 -> title field87842 -> content If it is possible?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

Girlisgone commented 6 years ago

I don't think I signed up to be in this group. I don't know what github is or what any of this stuff even means. How do i get out of this group thing?

Sent from Yahoo Mail on Android

On Fri, Mar 30, 2018 at 7:30 AM, Lisa Gatlinlisaslife42@yahoo.com wrote: Why am I getting this email?

Sent from the Yahoo Mail app. Get yours!

On Thu, Mar 29, 2018 at 7:58 AM, motoracer81notifications@github.com wrote:
Hello, I download data from the channel through the code: {exp: json: entries channel = "about-us" fields = "field89832 | field87842"} The code is downloaded correctly. However, I would like to change the names of columns that are generated in the json file. Or: [{"entry_id": 1, "field89832": "lorem ipsum", "field87842": "lorem ipsum"}] On: [{"entry_id": 1, "title": "lorem ipsum", "content": "lorem ipsum"}] Change: field89832 -> title field87842 -> content If it is possible?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

jachiike-madubuko commented 5 years ago

I don't think I signed up to be in this group. I don't know what github is or what any of this stuff even means. How do i get out of this group thing? Sent from Yahoo Mail on Android On Fri, Mar 30, 2018 at 7:30 AM, Lisa Gatlinlisaslife42@yahoo.com wrote: Why am I getting this email? Sent from the Yahoo Mail app. Get yours! On Thu, Mar 29, 2018 at 7:58 AM, motoracer81notifications@github.com wrote: Hello, I download data from the channel through the code: {exp: json: entries channel = "about-us" fields = "field89832 | field87842"} The code is downloaded correctly. However, I would like to change the names of columns that are generated in the json file. Or: [{"entry_id": 1, "field89832": "lorem ipsum", "field87842": "lorem ipsum"}] On: [{"entry_id": 1, "title": "lorem ipsum", "content": "lorem ipsum"}] Change: field89832 -> title field87842 -> content If it is possible? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

does this work for EE5?

Zignature commented 4 years ago

This is not a CRUD (Create, Read Update, Delete) API. It's read only. If you need a CRUD API you should check out the commercial plugin Web Service by Reinos.