{"id":24388222,"url":"https://github.com/frewtypebbles/neat-object-notation","last_synced_at":"2025-06-12T08:06:55.538Z","repository":{"id":63372500,"uuid":"563764013","full_name":"FrewtyPebbles/Neat-Object-Notation","owner":"FrewtyPebbles","description":null,"archived":false,"fork":false,"pushed_at":"2022-11-20T20:15:37.000Z","size":6270,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-16T14:29:54.717Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FrewtyPebbles.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-11-09T09:34:25.000Z","updated_at":"2022-11-10T21:23:32.000Z","dependencies_parsed_at":"2023-01-22T09:31:00.328Z","dependency_job_id":null,"html_url":"https://github.com/FrewtyPebbles/Neat-Object-Notation","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/FrewtyPebbles/Neat-Object-Notation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FrewtyPebbles%2FNeat-Object-Notation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FrewtyPebbles%2FNeat-Object-Notation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FrewtyPebbles%2FNeat-Object-Notation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FrewtyPebbles%2FNeat-Object-Notation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FrewtyPebbles","download_url":"https://codeload.github.com/FrewtyPebbles/Neat-Object-Notation/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FrewtyPebbles%2FNeat-Object-Notation/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259427003,"owners_count":22855556,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-19T13:56:42.300Z","updated_at":"2025-06-12T08:06:55.508Z","avatar_url":"https://github.com/FrewtyPebbles.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Neat Object Notation 0.3.1\n\n A smart, modular and readable configuration file format for complex multifile solutions.\n\n## Comments\n\n```\n| Any lines which are to be commented out must start with a pipe character.\n| The pipe must ALWAYS be at the beginning of the line for comments.\n```\n\n## Global Scope\n\n By default the global scope of a Neat config file is a dictionary, if you wish to specify otherwise you must put this somewhere in your .neat file on its own line\n\n```\n~list\n```\n\n## Labeled Structures\n\n```\n[This is where you write the key associated with your dictionary]\n\n\t\"This is a key to an inline dictionary\":{\"This is the key to an inline list\":()}\n\n| This [-] token denotes the end of a dictionary.\n[-]\n\n\u003cThis is where you write the key associated with your list\u003e\n\n|\tThe line below is the 0th index of this labeled list and is a list with a single item,\n|\tThat single item is an empty dictionary\n\t({})\n\n| This \u003c-\u003e token denotes the end of a list.\n\u003c-\u003e\n```\n\n## Unlabeled Structures\n\nIf you wish to create an unlabeled structure vertically you can do so like this:\n\n```\n~list\n\n{\n\t\"Some key\":29873198273\n}\n\n```\n\nAnother example:\n\n```\n\u003csection name\u003e\n\t{\n\t\t[inner section name]\n\t\t\t\"some key\": True\n\t\t[-]\n\t\t\"another key\": \"abc\"\n\t}\n\u003c-\u003e\n```\n\n## Modules\n\nImporting only specific sections of a module:\n\n```\n| This file is called filename.neat\n\u003csection name\u003e\n\t{\n\t\t[inner section name]\n\t\t\t\"some key\": True\n\t\t[-]\n\t\t\"another key\": \"abc\"\n\t}\n\u003c-\u003e\n```\n\n```\n|this is where we are importing the module\nmod filename : 'section name'.0.'inner section name'\n\n| Alternate syntax\n\n* foldername.filename : 'section name'.0.'inner section name'\n```\n\nImporting a whole module:\n\n```\n|this file is called module.neat\n[section]\n\t1:\"abc\"\n[-]\n```\n\n```\n| This is where we import module.neat\nmod module\n\n[another section]\n\t\"def\":2\n[-]\n\n| Result:\n| {\"module\":{\"section\":{\"1\":\"abc\"}},\"another section\":{\"def\":2}}\n```\n\n## Alias\n\nAliases can be used to add items to sections outside of that section and its parent.\nThe left hand side of the : is the alias name.  The right hand side of the : is the alias path.\n\n```\n\u003csection name\u003e\n\t{\n\t\t[inner section name]\n\t\t\t\"some key\": True\n\t\t[-]\n\t\t\"another key\": \"abc\"\n\t}\n\u003c-\u003e\n\n| this is the alias declaration\nalias alias_name : [section name] 0 [inner section name]\n\n| the name of the alias, in this case alias_name, marks the start of an alias section.\nalias_name\n\t\"some other key\": false\n| The /-/ token marks the end of an alias section\n/-/\n\n| Result:\n| {\"section name\":[{\"inner section name\":{\"some key\":True,\"some other key\":False},\"another key\":\"abc\"}]}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrewtypebbles%2Fneat-object-notation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrewtypebbles%2Fneat-object-notation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrewtypebbles%2Fneat-object-notation/lists"}