Answer the question
In order to leave comments, you need to log in
How to properly convert Buffer?
I work with Google Maps API. Data from Google comes in Buffer format. If I execute data.toString()
, I get a JSON file. When I try to parse it into an object, I get SyntaxError: Unexpected end of JSON input.
How can you convert all this into an object?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question