Click here to Skip to main content
15,892,005 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
"[{"SQAD_RATE_ID":"12494158","SQAD_MARKET":"ZANESVILLE1","SQAD_MARKET_ID":"0","SQAD_DAYPART":"PR","SQAD_DEMO":"W55+","SQAD_QTRYR":"3Q%20%2711","SQAD_LEVEL":"AVG","SQAD_CPP":"26"}]"


get get error due to the quotation '
Posted
Comments
ZurdoDev 22-Jan-16 8:43am    
Are you sure it is the single quote causing the issue? https://msdn.microsoft.com/en-us/library/dn921889.aspx shows that a single qoute is not a special character.
Member 10902837 22-Jan-16 10:28am    
i solved the problem thanks i have an function to check the '

1 solution

Use following code :

[{
	"SQAD_RATE_ID": "12494158",
	"SQAD_MARKET": "ZANESVILLE1",
	"SQAD_MARKET_ID": "0",
	"SQAD_DAYPART": "PR",
	"SQAD_DEMO": "W55+",
	"SQAD_QTRYR": "3Q%20%2711",
	"SQAD_LEVEL": "AVG",
	"SQAD_CPP": "26"
}]


Remove first & last double quotes...

Check it here : JSONLint - The JSON Validator.[^]
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900