JSFiddle - React, Tailwind, and code Playground
HTML
<script src="https://getfirebug.com/firebug-lite-debug.js"></script>
JavaScript
var test = "{\"a\": \"A\", \"b\": \"B\", \"c\": \"C\"}";
console.log(JSON.parse(test, function(key, val){ if (key === "a") return val; }));
console.log(JSON.parse(test, function(key, val){ if (key !== "a") return val; }));