json4s / json4s/json4s

strange behavior of filterField

Open
#278 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

suggestion
Dominant language
Scala
Stars
1.5k
Forks
324
Avg merge
4h 35m
Merged PRs (30d)
30

Description

Contents of the nested JObject spill over into top level as a result of filtering. An illustration: https://gist.github.com/divijan/79d96b8fdc1848a66a36

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the nested JObject filtering behavior described in the issue and the linked gist, then trace the filterField implementation and its handling of nested objects. Done means filtering no longer spills nested JObject contents into the top level while preserving the requested filtering behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.