convert image as json string an image encoded to base64 gives you a string ... there's no reason to "convert" a string to JSON ... what key would you use for this object? or is it just a JSON encoded array? you only have a single string, no reason to stick it in an array - keep things simple - a base64 encoded image is fine to work with
convert image as json stringan image encoded to base64 gives you a string ... there's no reason to "convert" a string to JSON ... what key would you use for this object? or is it just a JSON encoded array? you only have a single string, no reason to stick it in an array - keep things simple - a base64 encoded image is fine to work with