{"id":23624739,"url":"https://github.com/hcl-tech-software/voltscript-json-converter","last_synced_at":"2026-01-26T00:06:05.500Z","repository":{"id":196566997,"uuid":"693641464","full_name":"HCL-TECH-SOFTWARE/voltscript-json-converter","owner":"HCL-TECH-SOFTWARE","description":"Conversion between VoltScript objects and JSON","archived":false,"fork":false,"pushed_at":"2025-09-24T16:45:30.000Z","size":3973,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-10-02T07:29:50.284Z","etag":null,"topics":["volt-mx-go","voltscript"],"latest_commit_sha":null,"homepage":"https://opensource.hcltechsw.com/voltscript-json-converter","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HCL-TECH-SOFTWARE.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-09-19T12:32:13.000Z","updated_at":"2025-09-24T16:35:41.000Z","dependencies_parsed_at":"2023-12-13T11:23:32.096Z","dependency_job_id":"fcfb72e9-9d92-44c7-996b-72439481d248","html_url":"https://github.com/HCL-TECH-SOFTWARE/voltscript-json-converter","commit_stats":null,"previous_names":["hcl-tech-software/voltscript-json-converter"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/HCL-TECH-SOFTWARE/voltscript-json-converter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HCL-TECH-SOFTWARE%2Fvoltscript-json-converter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HCL-TECH-SOFTWARE%2Fvoltscript-json-converter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HCL-TECH-SOFTWARE%2Fvoltscript-json-converter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HCL-TECH-SOFTWARE%2Fvoltscript-json-converter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HCL-TECH-SOFTWARE","download_url":"https://codeload.github.com/HCL-TECH-SOFTWARE/voltscript-json-converter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HCL-TECH-SOFTWARE%2Fvoltscript-json-converter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28761888,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T23:06:19.311Z","status":"ssl_error","status_checked_at":"2026-01-25T23:03:50.555Z","response_time":113,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["volt-mx-go","voltscript"],"created_at":"2024-12-27T21:16:20.516Z","updated_at":"2026-01-26T00:06:05.495Z","avatar_url":"https://github.com/HCL-TECH-SOFTWARE.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VoltScript JSON Converter\n\nVoltScript JSON Converter manages the conversion of data from JSON to VoltScript objects and back to JSON.\n\n## How it Works\n\nAs a compiled language, VoltScript cannot leverage reflection to convert the data. However, the `Execute` function in VoltScript can be leveraged with global variables. A string can be built for the code that needs to be run, and `Execute` can perform that code.\n\nThis just leaves a few complications:\n\n- Classes that require a custom constructor.\n- Custom converters to convert to / from specific data types\n- Custom converters that require different property names to JSON labels\n- Custom converters that need to call subs or functions instead of writing directly to properties\n\n## Using dependency management\n\nDependency management is available in the documentation for each project, but also aggregated here:\n\n### Authentication\n\nYou'll need a [Personal Access Token](https://opensource.hcltechsw.com/voltscript-docs/howto/writing/archipelago.md#github-personal-access-token) to use GitHub REST APIs. You'll then need to add this to the JSON object in your [atlas-settings.json](https://opensource.hcltechsw.com/voltscript-docs/howto/writing/archipelago.md#atlas-settingsjson), in the .vss directory of your user home directory:\n\n```json\n    \"hcl-github\": {\n        \"type\": \"github\",\n        \"token\": \"${env.TOKEN}\"\n    }\n```\n\nFor JsonVSE downstream dependency, you'll need to sign up for the Volt MX Marketplace. Instructions are in the [how-to-guide](https://opensource.hcltechsw.com/voltscript-docs/howto/writing/archipelago.html#volt-mx-marketplace-credentials). **NOTE:** Ensure you log into the Volt MX Marketplace via a browser after confirming your account, to ensure the account is properly activated. Otherwise authentication to gain an access token will fail.\n\nYou'll then need to add this to the JSON object in your [atlas-settings.json](https://opensource.hcltechsw.com/voltscript-docs/howto/writing/archipelago.md#atlas-settingsjson), in the .vss directory of your user home directory:\n\n```json\n    \"volt-mx-marketplace\": {\n        \"type\": \"marketplace\",\n        \"username\": \"YOUR_USERNAME\",\n        \"password\": \"YOUR_PASSWORD\",\n        \"authUrl\": \"https://accounts.auth.demo-hclvoltmx.net/login\"\n    }\n```\n\n### Repository\n\nYou'll need to add to your **repositories** object in the atlas.json of your project:\n\n```json\n        {\n            \"id\": \"hcl-github\",\n            \"type\": \"github\",\n            \"url\": \"https://api.github.com/repos/HCL-TECH-SOFTWARE\"\n        }\n```\n\n### Dependency\n\nYou'll need the relevant dependency to add to your **dependencies** or **testDependencies** object in the atlas.json of your project:\n\n```json\n        {\n            \"library\": \"voltscript-json-converter\",\n            \"version\": \"1.0.4\",\n            \"module\": \"VoltScriptJsonConverter.vss\",\n            \"repository\": \"hcl-github\"\n        }\n```\n\n## Contributing\n\nSee [CONTRIBUTING.md](contributing.md).\n\n## Code of Conduct\n\nSee [CODE_OF_CONDUCT.md](code_of_conduct.md).\n\n## Issues and discussions\n\nLet's chat on [OpenNTF Discord](https://openntf.org/discord).\n\nFor long-running discussions, use Discussions area in GitHub. For bugs and feature requests **specific to VoltScript Testing Framework** use, Issues area.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhcl-tech-software%2Fvoltscript-json-converter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhcl-tech-software%2Fvoltscript-json-converter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhcl-tech-software%2Fvoltscript-json-converter/lists"}