{"id":21181434,"url":"https://github.com/rhaseven7h/sqljson","last_synced_at":"2025-03-14T19:27:46.917Z","repository":{"id":57531415,"uuid":"89977506","full_name":"rhaseven7h/sqljson","owner":"rhaseven7h","description":"SQL+JSON+Validator Support for sql.NullString, sql.NullBool, sql.NullInt64 and sql.NullFloat64.","archived":false,"fork":false,"pushed_at":"2017-05-02T07:37:36.000Z","size":324,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-01-21T12:22:20.278Z","etag":null,"topics":["field","go","golang","json","json-serialization","marhsaller","marshalling","null","sql","struct","structs","unmarshaller","unmarshalling","validate","validator","validators"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rhaseven7h.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-02T01:14:26.000Z","updated_at":"2023-03-10T11:57:59.000Z","dependencies_parsed_at":"2022-09-07T04:52:54.788Z","dependency_job_id":null,"html_url":"https://github.com/rhaseven7h/sqljson","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhaseven7h%2Fsqljson","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhaseven7h%2Fsqljson/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhaseven7h%2Fsqljson/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhaseven7h%2Fsqljson/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rhaseven7h","download_url":"https://codeload.github.com/rhaseven7h/sqljson/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243634674,"owners_count":20322811,"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":["field","go","golang","json","json-serialization","marhsaller","marshalling","null","sql","struct","structs","unmarshaller","unmarshalling","validate","validator","validators"],"created_at":"2024-11-20T17:50:38.064Z","updated_at":"2025-03-14T19:27:46.891Z","avatar_url":"https://github.com/rhaseven7h.png","language":"Go","readme":"# Golang (Go) SQL+JSON+Validator Support for Null Database/SQL Types\n\n## SQL Null Field Types\n\n- sql.NullString\n- sql.NullBool\n- sql.NullInt64\n- sql.NullFloat64\n\nAdds support to Null* field types for database/sql.\n\nValidator library is:\n\n- [Go Playground Validator: gopkg.in/go-playground/validator.v9](gopkg.in/go-playground/validator.v9)\n\nAllows simultaneous use of validator validations, null sql values in struct fields for database/sql, and still support JSON Marshal and Unmarshal for those Null* fields.\n\n## Usage\n\nPlease see integration test files, in particular those for validation.\n\nYou need to register custom types for validator. See how it is done in integration tests too.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhaseven7h%2Fsqljson","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frhaseven7h%2Fsqljson","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhaseven7h%2Fsqljson/lists"}