{"id":8199949,"name":"github.com/jackc/softstruct","ecosystem":"go","description":"Package softstruct provides \"soft\" structures that are created at runtime.\n\nThe purpose of this package is to make it easy to parse and validate JSON or form submissions and to represent a\nruntime defined record.\n\nA Type is a definition of a structure. It is defined by a set of fields. Each field has a name and a set of\nValueConverters. A ValueConverter is a function that converts a value to a different type or validates the value.\n\nA Record is an \"instance\" of a Type. It is created by calling Type.New with a map[string]any. The map is converted to\na Record by applying the ValueConverters for each field. If any of the ValueConverters fail then the Record is\nconsidered invalid. The original map and the errors are stored in the Record.","homepage":"https://github.com/jackc/softstruct","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/jackc/softstruct","keywords_array":[],"namespace":"github.com/jackc","versions_count":1,"first_release_published_at":"2023-06-24T23:21:14.000Z","latest_release_published_at":"2023-06-24T23:21:14.000Z","latest_release_number":"v0.0.0-20230624232114-60549214e5d3","last_synced_at":"2026-03-11T03:45:31.578Z","created_at":"2023-09-05T02:41:24.288Z","updated_at":"2026-03-11T03:45:31.578Z","registry_url":"https://pkg.go.dev/github.com/jackc/softstruct","install_command":"go get github.com/jackc/softstruct","documentation_url":"https://pkg.go.dev/github.com/jackc/softstruct#section-documentation","metadata":{},"repo_metadata":{"uuid":"658147206","full_name":"jackc/mp","owner":"jackc","description":"mp (map parser) provides a parser that parses maps into types defined at runtime.","archived":false,"fork":false,"pushed_at":"2023-08-18T18:37:53.000Z","size":77,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-08-18T19:38:46.812Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jackc.png","metadata":{"files":{"readme":null,"changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-06-24T23:20:35.000Z","updated_at":"2023-07-13T19:44:53.000Z","dependencies_parsed_at":"2023-07-13T20:33:22.460Z","dependency_job_id":"9e5edc1d-06ed-43b0-9cf5-2a710c3fbd4d","html_url":"https://github.com/jackc/mp","commit_stats":null,"previous_names":["jackc/softstruct","jackc/mp"],"tags_count":0,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackc%2Fmp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackc%2Fmp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackc%2Fmp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackc%2Fmp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jackc","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":156930979,"owners_count":7657977,"icon_url":"https://github.com/github.png","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"}},"repo_metadata_updated_at":"2023-09-05T02:41:24.795Z","dependent_packages_count":0,"downloads":null,"downloads_period":null,"dependent_repos_count":0,"rankings":{"downloads":null,"dependent_repos_count":10.56745293061189,"dependent_packages_count":8.899321458400431,"stargazers_count":19.486753972716407,"forks_count":19.12155338533848,"docker_downloads_count":null,"average":14.518770436766802},"purl":"pkg:golang/github.com/jackc/softstruct","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/go/github.com/jackc/softstruct","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/go/github.com/jackc/softstruct","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/go/github.com/jackc/softstruct/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":null,"versions_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fjackc%2Fsoftstruct/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fjackc%2Fsoftstruct/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fjackc%2Fsoftstruct/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fjackc%2Fsoftstruct/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fjackc%2Fsoftstruct/codemeta","maintainers":[]}