Skip to content

Recursively Escape Apostraphe's from a JSON string for SQL insertion

Notifications You must be signed in to change notification settings

justinhaubrich/sqlEscapeJSON

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

sqlEscapeJSON

Javascript Function to Recursively Escape Apostraphe's from a JSON string for SQL insertion

Function as is can take JSON string with apostraphe's in the value of each key/value pair and escape the string of all apostraphe occurences recursively.

written by Justin Haubrich, https://jhaubrich.com

About

Recursively Escape Apostraphe's from a JSON string for SQL insertion

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published