JSanitizer NuGet Library

Configurable sanitizer for XML and JSON string value through extension method.

NuGet: https://www.nuget.org/packages/JSanitizer/


1. Default sanitizer to replace password value
2. Sanitize with options


  1. .NET Core 3.1
  2. Visual Studio or VS Code

How to use:

  1. Go to Tools and select Manage Nuget Packages and Search for JSanitizer library.
  2. OR Install-Package JSanitizer -Version 1.0.2


  1. {json string value}.SanitizeJsonValue()
  2. {xml string value}.SanitizeXmlValue()
  3. {xml string value}.SanitizeXmlWithOptions(options)
  4. {json string value}.SanitizeJsonWithOptions(options)

Code implementations:

  1. Sanitize without options

2. Sanitize with options

Note: If you encounter error, please follow screenshot below:

Looking for a JOB? Signup @ jobbhy and be notified!

Want to post a JOB as employer? Contact and be one us!

Twitter: https://twitter.com/_EthanHunt07

LinkedIn: https://www.linkedin.com/feed/update/urn:li:activity:6556857396478734336

Facebook: https://www.facebook.com/groups/vuejsdevelopers/permalink/690896881322331/

Axios Refresh Token (A simple and straightforward request interceptor.)

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store