Adam Ehrenworth
asked on
parse JSON file to create Table on HTML page using Jquery
I would like to parse a JSON file that is stored in the same place as my webpage and create an HTML table dynamically using some type of jquery,
I have not been able to get this to work successfully.
This is what the JSON data looks like:
I would like to create a table that includes all of the filed names: WWID, FULL_NAME, etc and the values
Any help would be greatly appreciated.
I have not been able to get this to work successfully.
This is what the JSON data looks like:
[{"WWID":"1000000290","FULL_NAME":"JAIPRAKASH GABA","Rule Type":null,"Learner Region":null,"MappingIDs":null,"HCCO Name":"zz-Not Mapped","HCCO WWID":null,"WORK_REGION":"NORTH AMERICA","MRC_CODE":"001270","LEGAL_ENTITY_CODE":"006084","Leader WWID":null,"Leader Name":null,"Audience":null}
,{"WWID":"1000000354","FULL_NAME":"MARK KOMEN","Rule Type":null,"Learner Region":null,"MappingIDs":null,"HCCO Name":"zz-Not Mapped","HCCO WWID":null,"WORK_REGION":"NORTH AMERICA","MRC_CODE":"001410","LEGAL_ENTITY_CODE":"006090","Leader WWID":null,"Leader Name":null,"Audience":null}
,{"WWID":"1000000419","FULL_NAME":"ALEXIS BAKER","Rule Type":null,"Learner Region":null,"MappingIDs":null,"HCCO Name":"zz-Not Mapped","HCCO WWID":null,"WORK_REGION":null,"MRC_CODE":null,"LEGAL_ENTITY_CODE":null,"Leader WWID":null,"Leader Name":null,"Audience":null}
,{"WWID":"1000000420","FULL_NAME":"MARGARIDA CALDEIRA","Rule Type":null,"Learner Region":null,"MappingIDs":null,"HCCO Name":"zz-Not Mapped","HCCO WWID":null,"WORK_REGION":null,"MRC_CODE":null,"LEGAL_ENTITY_CODE":null,"Leader WWID":null,"Leader Name":null,"Audience":null}
I would like to create a table that includes all of the filed names: WWID, FULL_NAME, etc and the values
Any help would be greatly appreciated.
ASKER
First and foremost- thank you ---
What if the "data" is not able to be put directly into the HTML? it has thousands of lines but it is sitting in the same folder as this webpage.
can I reference the direct URL of the JSON file somehow to parse that?
What if the "data" is not able to be put directly into the HTML? it has thousands of lines but it is sitting in the same folder as this webpage.
can I reference the direct URL of the JSON file somehow to parse that?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Open in new window