-
Notifications
You must be signed in to change notification settings - Fork 684
Implement JSON object #307
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
Conversation
This PR continues the #168 PR. Anyway, this patch was waiting for a very long time, so we really should land it soon. |
I didn't see any unanswered questions. I think all of them were fixed or no need any actions. With a big change like this, you can always raise new issues, but the patch will never land (it was opened 5 weeks ago). We need this patch to support JSON. Perhaps we could fix the minor stuff later. |
Could we postpone that later? |
That requires a major rewrite in the engine. |
Could you, please, provide more details? What parts would be involved in the rewrite? Update: |
I can open an issue for that. What do you think? |
Core engine parts, which is not related to JSON support. |
For me, it seems that only ecma_collection should be extended with "append" functionality, and other parts should not be changed. Do I miss something? |
I don't know since engine core is not our focus. But if append functionality is missing, there is likely a good reason for that. But if it is easy, tell me how to do it. |
@zherczeg, I see. We can raise two issues about this:
Is it ok for you? I'll finish review of the rest part of the pull request soon. |
Ok, thank you. I will open these issues. |
|
||
if (remainder < 10) | ||
{ | ||
ch = (lit_utf8_byte_t) (48 + remainder); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could use LIT_CHAR_0
here.
@zherczeg, thank you for raising the issues. I've finished review of this pull request. I think, that after fixing mentioned issues, the patch would be ok to merge. |
Thank you! I updated everything. |
@zherczeg, thank you! After fixing #307 (comment), ok to merge. |
JerryScript-DCO-1.0-Signed-off-by: Roland Takacs [email protected] JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
Landed the patch in #307. Thank you. Anything else? |
Good to me |
I think, ok to merge. |
|
Landed in d1a5f7f |
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
JerryScript-DCO-1.0-Signed-off-by: Roland Takacs [email protected]