Skip to content
This repository was archived by the owner on Nov 7, 2019. It is now read-only.
This repository was archived by the owner on Nov 7, 2019. It is now read-only.

Serialized beans have extra parameters in JSON #20

@craigwblake

Description

@craigwblake

It appears that when serializing beans that were created with the MrBean module, the output JSON has every property duplicated with a leading underscore. Here's a test case which reproduces the problem:

https://github.com/craigwblake/mrbean-test

The failure is this:

Failed tests: testBean(com.gses.config.ParserTest): expected:<{"[field": ]"testing"}> but was:<{"[_field":"testing","field":]"testing"}>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions