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.

Deeply nested objects not serialized

See original GitHub issue

I have the same problem as #1964. However, my extra data is coming from a call to captureEvent. This seems to ignore the depth setting and only serialize to one level.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

8reactions
kamilogorekcommented, Feb 10, 2020

See: https://github.com/getsentry/sentry-javascript/pull/2404

You should be able to change it with Sentry.init({ normalizeDepth: 5 }) or other value. I’m still tinkering how to approach marrying this external integration and this new global config option.

Read more comments on GitHub >

github_iconTop Results From Across the Web

c# - Newtonsoft Json - Serialize Deep nested object based on ...
Does Newtonsoft Json have any way to serialize nested objects with only selected properties ? The model looks like:
Read more >
Serialization of deeply nested object - Ember Data
Hi, I have a model class Item which looks like this: export default class ItemModel extends Model { @attr name; @attr description; ...
Read more >
How do I convert deeply nested JSON object to Java object?
GSON is an open source Java library to serialize and deserialize Java objects to (and from) JSON. It works well for deeply nested...
Read more >
Can you serialize nested objects to XML? - .NET Framework
Serializing nested objects is not a problem. Everything in .Net is an object. ... nest deep, kinda like a deep clone? Just curious....
Read more >
Mapping Nested Values with Jackson - Baeldung
Learn three ways to deserialize nested JSON values in Java using the ... which is nested two levels deep and within the nested...
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