github.com/hernad/nomad@v1.6.112/ui/app/serializers/structured-attributes.js (about) 1 /** 2 * Copyright (c) HashiCorp, Inc. 3 * SPDX-License-Identifier: MPL-2.0 4 */ 5 6 import ApplicationSerializer from './application'; 7 import classic from 'ember-classic-decorator'; 8 9 @classic 10 export default class StructuredAttributes extends ApplicationSerializer { 11 normalize(typeHash, hash) { 12 return super.normalize(typeHash, { Raw: hash }); 13 } 14 }