-
Notifications
You must be signed in to change notification settings - Fork 7
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
Add JSON.stringify() possibility in readme #3
Comments
Good call; I'll be honest and say that we've moved to using Jira at Fullscreen, so I don't have any way to confirm or test this. Can I give you contributor permissions so you can commit this change directly to the repo? |
That would be ok. I also have 2 new methods to add (to append fields and sort in descending order described on dev.targetprocess.com). But I have to admit, I don't have a lot of experience with JavaScript. |
Well, you have commit access. Feel free to open a pull request and ping me if you need a second set of eyes, or a hand walking through my terrible, terrible code. |
Thanks |
Fixes #3 Add JSON.stringify() possibility in readme; and a typo
@xmik The problem is related to I prefer to use node's
From the docs:
So this can be easily adapted to your example:
|
First, thank you for
tp-api
. The code still works, I'd just like to suggest adding one note to readme.Using a very similar example to the one from readme:
The returned
tasks
here is a JavaScript object which can return:In order to convert it into JSON string, the following is enough:
and now it returns:
It took me some time to find out about it, so I'd like to spare this time for others.
The text was updated successfully, but these errors were encountered: