skip to Main Content

String processing in Javascript using Array

Here is the input that should be converted to JSON format as given below. '{RS0004036}:{1;2}:{0000003AB;0000003BC}_{RS0004036}:{0;3}:{0000003DE;0000003FG}_{RS0004036}:{3;3}:{0000003HI;0000003JK}' Target JSON should be like this. The code should read the above input, will create a JSON return string as follows. The returning JSON will…

VIEW QUESTION
Back To Top
Search