cheshire icon indicating copy to clipboard operation
cheshire copied to clipboard

Exception encoding primitive arrays

Open ABeltramo opened this issue 6 years ago • 0 comments

Seems like it's not possible to encode primitive arrays, example:

(cheshire.core/encode (double-array [0 1 2]))

Throws

com.fasterxml.jackson.core.JsonGenerationException: Cannot JSON encode object of class: class [D: [D@283dd82a

ABeltramo avatar Sep 16 '19 12:09 ABeltramo