JSON.parse(' ') - where is the source code in nodeJs or JS or V8? [closed]












0















JSON.parse(fileName_or_stringOfJSON)


I know they return an object, but how is the string converted into object. In NODEJs, where is the source code?










share|improve this question















closed as off-topic by Phil, charlietfl, cd-rum, Paulpro, Jonas Wilms Nov 20 '18 at 6:29


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it." – Phil, charlietfl, cd-rum, Paulpro, Jonas Wilms

If this question can be reworded to fit the rules in the help center, please edit the question.

















  • Sample data and explanation would be helpful!

    – Prashant Pimpale
    Nov 20 '18 at 5:43






  • 1





    Why in the world would you need the source code for that?

    – Abana Clara
    Nov 20 '18 at 5:44






  • 1





    There is no sample, we all know how JSON.parse() works. I want to know where is the source of FUNCTION JSON.PARSE() comes from

    – Nandha Frost
    Nov 20 '18 at 5:45






  • 2





    Enjoy ~ github.com/v8/v8/blob/master/src/json-parser.cc

    – Phil
    Nov 20 '18 at 5:48






  • 2





    Betting @Phil found that in a 15 second web search.

    – charlietfl
    Nov 20 '18 at 5:51
















0















JSON.parse(fileName_or_stringOfJSON)


I know they return an object, but how is the string converted into object. In NODEJs, where is the source code?










share|improve this question















closed as off-topic by Phil, charlietfl, cd-rum, Paulpro, Jonas Wilms Nov 20 '18 at 6:29


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it." – Phil, charlietfl, cd-rum, Paulpro, Jonas Wilms

If this question can be reworded to fit the rules in the help center, please edit the question.

















  • Sample data and explanation would be helpful!

    – Prashant Pimpale
    Nov 20 '18 at 5:43






  • 1





    Why in the world would you need the source code for that?

    – Abana Clara
    Nov 20 '18 at 5:44






  • 1





    There is no sample, we all know how JSON.parse() works. I want to know where is the source of FUNCTION JSON.PARSE() comes from

    – Nandha Frost
    Nov 20 '18 at 5:45






  • 2





    Enjoy ~ github.com/v8/v8/blob/master/src/json-parser.cc

    – Phil
    Nov 20 '18 at 5:48






  • 2





    Betting @Phil found that in a 15 second web search.

    – charlietfl
    Nov 20 '18 at 5:51














0












0








0








JSON.parse(fileName_or_stringOfJSON)


I know they return an object, but how is the string converted into object. In NODEJs, where is the source code?










share|improve this question
















JSON.parse(fileName_or_stringOfJSON)


I know they return an object, but how is the string converted into object. In NODEJs, where is the source code?







javascript node.js






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 20 '18 at 6:25









derHugo

6,97831233




6,97831233










asked Nov 20 '18 at 5:41









Nandha FrostNandha Frost

166




166




closed as off-topic by Phil, charlietfl, cd-rum, Paulpro, Jonas Wilms Nov 20 '18 at 6:29


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it." – Phil, charlietfl, cd-rum, Paulpro, Jonas Wilms

If this question can be reworded to fit the rules in the help center, please edit the question.







closed as off-topic by Phil, charlietfl, cd-rum, Paulpro, Jonas Wilms Nov 20 '18 at 6:29


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it." – Phil, charlietfl, cd-rum, Paulpro, Jonas Wilms

If this question can be reworded to fit the rules in the help center, please edit the question.













  • Sample data and explanation would be helpful!

    – Prashant Pimpale
    Nov 20 '18 at 5:43






  • 1





    Why in the world would you need the source code for that?

    – Abana Clara
    Nov 20 '18 at 5:44






  • 1





    There is no sample, we all know how JSON.parse() works. I want to know where is the source of FUNCTION JSON.PARSE() comes from

    – Nandha Frost
    Nov 20 '18 at 5:45






  • 2





    Enjoy ~ github.com/v8/v8/blob/master/src/json-parser.cc

    – Phil
    Nov 20 '18 at 5:48






  • 2





    Betting @Phil found that in a 15 second web search.

    – charlietfl
    Nov 20 '18 at 5:51



















  • Sample data and explanation would be helpful!

    – Prashant Pimpale
    Nov 20 '18 at 5:43






  • 1





    Why in the world would you need the source code for that?

    – Abana Clara
    Nov 20 '18 at 5:44






  • 1





    There is no sample, we all know how JSON.parse() works. I want to know where is the source of FUNCTION JSON.PARSE() comes from

    – Nandha Frost
    Nov 20 '18 at 5:45






  • 2





    Enjoy ~ github.com/v8/v8/blob/master/src/json-parser.cc

    – Phil
    Nov 20 '18 at 5:48






  • 2





    Betting @Phil found that in a 15 second web search.

    – charlietfl
    Nov 20 '18 at 5:51

















Sample data and explanation would be helpful!

– Prashant Pimpale
Nov 20 '18 at 5:43





Sample data and explanation would be helpful!

– Prashant Pimpale
Nov 20 '18 at 5:43




1




1





Why in the world would you need the source code for that?

– Abana Clara
Nov 20 '18 at 5:44





Why in the world would you need the source code for that?

– Abana Clara
Nov 20 '18 at 5:44




1




1





There is no sample, we all know how JSON.parse() works. I want to know where is the source of FUNCTION JSON.PARSE() comes from

– Nandha Frost
Nov 20 '18 at 5:45





There is no sample, we all know how JSON.parse() works. I want to know where is the source of FUNCTION JSON.PARSE() comes from

– Nandha Frost
Nov 20 '18 at 5:45




2




2





Enjoy ~ github.com/v8/v8/blob/master/src/json-parser.cc

– Phil
Nov 20 '18 at 5:48





Enjoy ~ github.com/v8/v8/blob/master/src/json-parser.cc

– Phil
Nov 20 '18 at 5:48




2




2





Betting @Phil found that in a 15 second web search.

– charlietfl
Nov 20 '18 at 5:51





Betting @Phil found that in a 15 second web search.

– charlietfl
Nov 20 '18 at 5:51












1 Answer
1






active

oldest

votes


















1














I think JSON.parse() is not a utility solely usable in Nodejs. It is already standardized since Javascript v1.7 if I am not mistaken. If you are interested in "how" question, read this.






share|improve this answer



















  • 1





    I think OP is literally after the source code. As such, this question is off-topic ("off-site resources"). Nice link though

    – Phil
    Nov 20 '18 at 5:54











  • I think he/she is looking at how parse works. Pseudocode might help, and this is a good lead.

    – Sandy Brutas
    Nov 20 '18 at 5:55


















1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














I think JSON.parse() is not a utility solely usable in Nodejs. It is already standardized since Javascript v1.7 if I am not mistaken. If you are interested in "how" question, read this.






share|improve this answer



















  • 1





    I think OP is literally after the source code. As such, this question is off-topic ("off-site resources"). Nice link though

    – Phil
    Nov 20 '18 at 5:54











  • I think he/she is looking at how parse works. Pseudocode might help, and this is a good lead.

    – Sandy Brutas
    Nov 20 '18 at 5:55
















1














I think JSON.parse() is not a utility solely usable in Nodejs. It is already standardized since Javascript v1.7 if I am not mistaken. If you are interested in "how" question, read this.






share|improve this answer



















  • 1





    I think OP is literally after the source code. As such, this question is off-topic ("off-site resources"). Nice link though

    – Phil
    Nov 20 '18 at 5:54











  • I think he/she is looking at how parse works. Pseudocode might help, and this is a good lead.

    – Sandy Brutas
    Nov 20 '18 at 5:55














1












1








1







I think JSON.parse() is not a utility solely usable in Nodejs. It is already standardized since Javascript v1.7 if I am not mistaken. If you are interested in "how" question, read this.






share|improve this answer













I think JSON.parse() is not a utility solely usable in Nodejs. It is already standardized since Javascript v1.7 if I am not mistaken. If you are interested in "how" question, read this.







share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 20 '18 at 5:53









Sandy BrutasSandy Brutas

459312




459312








  • 1





    I think OP is literally after the source code. As such, this question is off-topic ("off-site resources"). Nice link though

    – Phil
    Nov 20 '18 at 5:54











  • I think he/she is looking at how parse works. Pseudocode might help, and this is a good lead.

    – Sandy Brutas
    Nov 20 '18 at 5:55














  • 1





    I think OP is literally after the source code. As such, this question is off-topic ("off-site resources"). Nice link though

    – Phil
    Nov 20 '18 at 5:54











  • I think he/she is looking at how parse works. Pseudocode might help, and this is a good lead.

    – Sandy Brutas
    Nov 20 '18 at 5:55








1




1





I think OP is literally after the source code. As such, this question is off-topic ("off-site resources"). Nice link though

– Phil
Nov 20 '18 at 5:54





I think OP is literally after the source code. As such, this question is off-topic ("off-site resources"). Nice link though

– Phil
Nov 20 '18 at 5:54













I think he/she is looking at how parse works. Pseudocode might help, and this is a good lead.

– Sandy Brutas
Nov 20 '18 at 5:55





I think he/she is looking at how parse works. Pseudocode might help, and this is a good lead.

– Sandy Brutas
Nov 20 '18 at 5:55





Popular posts from this blog

Guess what letter conforming each word

Port of Spain

Run scheduled task as local user group (not BUILTIN)