jsonapi
jsonapi copied to clipboard
Non-string fields are converted to string values due to str_replace
Replacements are applied using str_replace in Parser.php, but this converts null or boolean value to string values ("" and "1" respectively), which breaks API spec. I suggest using str_replace only for string fields, as these are also the only ones that might contain any replacement values at all.