0.0
No commit activity in last 3 years
No release in over 3 years
There's a lot of open issues
Normalizes disparate JSON Schemas to Specified Schema
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

 Project Readme

JSON Normalizer

alt text

What is it?

Json Normalizer is a gem that normalizes keys on json documents from disparate sources. The process will attempt to translate EVERY key given the mapping; including keys in nested documents.

Usage

require 'json_normalizer'

mapping = { returned_key: [:given, :keys] }

normalizer = JsonNormalizer.new(mapping.to_json)

doc_to_be_normalized = { given: { keys: 'both keys will be translated!' } }

normalized = normalizer.translate(doc_to_be_normalized.to_json)