source: node_modules/@swagger-api/apidom-ast/es/json/nodes/JsonObject.mjs@ 65b6638

main
Last change on this file since 65b6638 was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 246 bytes
Line 
1import JsonNode from "./JsonNode.mjs";
2import { isProperty } from "./predicates.mjs";
3class JsonObject extends JsonNode {
4 static type = 'object';
5 get properties() {
6 return this.children.filter(isProperty);
7 }
8}
9export default JsonObject;
Note: See TracBrowser for help on using the repository browser.