question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error serializing unrecognized object [object Object]

See original GitHub issue

I am getting an error:

error Error: Error serializing unrecognized object [object Object]

Here is the JSON input:

https://gist.github.com/gajus/bdd5b3d8cd0ddce24e762495d9779a75

Here is how I load it:

transit.toJSON(Immutable.fromJS(jsonInput))

Issue Analytics

  • State:open
  • Created 7 years ago
  • Reactions:2
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Griezzlycommented, Sep 27, 2016

Thats a bit more complicated. Im basically using ReactJS with Redux to store the state of my application in an immutable map. Problem is that a lot of that happens in the background and i havent completely figured it out myself how exactly the objects look after creating them since they are created by a libary. But basically its this issue: https://github.com/rt2zz/redux-persist-transform-immutable/issues/13

I will investigate a bit further

1reaction
glenjamincommented, Sep 26, 2016

Hrm, you shouldn’t really get a raw ArrayMapNode like that - they should be contained inside an actual Map.

Can you share a code sample which reproduces this problem please?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error serializing unrecognized object · Issue #242 - GitHub
If I try to set an object like Error in Redux which does not have a toMap function, it seems to explode and...
Read more >
Uncaught Error: Error serializing unrecognized object about a ...
I am too getting same issue. My code look like. <Container> {label && <Label icon={icon}>{label}</Label>} <DatePickerPure onBlur={() ...
Read more >
Error serializing unrecognized object about a date in react ...
Coding example for the question Uncaught Error: Error serializing unrecognized object about a date in react-Reactjs.
Read more >
Serialization - Archive Exceptions - Boost C++ Libraries
Archive operators can throw a boost::archive_exception object which can be caught by an application program. These exceptions are defined in the files ...
Read more >
JSON Schema Serializer and Deserializer
Instead of having the schema derived from the Java object, you can pass a ... Error serializing JSON message Caused by: org.apache.kafka.common.errors.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found