{"id":16880617,"url":"https://github.com/squaremo/jsonspace","last_synced_at":"2026-05-04T20:38:59.826Z","repository":{"id":66130729,"uuid":"2470531","full_name":"squaremo/jsonspace","owner":"squaremo","description":"A tuple space but with JSON","archived":false,"fork":false,"pushed_at":"2012-06-07T23:06:27.000Z","size":99,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-25T05:41:16.524Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Erlang","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/squaremo.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":"2011-09-27T20:32:47.000Z","updated_at":"2022-10-23T14:30:52.000Z","dependencies_parsed_at":"2023-02-19T23:00:41.970Z","dependency_job_id":null,"html_url":"https://github.com/squaremo/jsonspace","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squaremo%2Fjsonspace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squaremo%2Fjsonspace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squaremo%2Fjsonspace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squaremo%2Fjsonspace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/squaremo","download_url":"https://codeload.github.com/squaremo/jsonspace/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244544353,"owners_count":20469664,"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":"2024-10-13T15:59:31.466Z","updated_at":"2026-05-04T20:38:54.805Z","avatar_url":"https://github.com/squaremo.png","language":"Erlang","funding_links":[],"categories":[],"sub_categories":[],"readme":"## So far ...\n\n    $ rebar get-deps\n    $ rebar compile\n    $ erl -pa deps/rejson/ebin ebin\n\n    1\u003e {ok, S} = jsonspc_query:start_link().\n    {ok, \u003c0.33.0\u003e}\n    2\u003e {ok, E} = rejson:parse(\"foo = [1, 2, number *]\").\n    {ok,{capture,\"foo\",[1,2,{star,number}]}}\n    3\u003e f(Ref), Ref = jsonspc_query:read(S, E, self()).\n    #Ref\u003c0.0.0.35\u003e\n    4\u003e f(R), receive {result, R, Ref} -\u003e R after 100 -\u003e no end.\n    no\n    5\u003e jsonspc_query:write(S, [1, 2, 3, 4]).\n    ok\n    6\u003e f(R), receive {result, R, Ref} -\u003e R after 100 -\u003e no end.\n    [{\"foo\",[1,2,3,4]}]\n\n## What?\n\nThis is an experiment in writing a database with tuplespace-like\nsemantics, using rejson pattern matching (which is described [over\nhere](https://github.com/squaremo/rejson#readme)).\n\nThere are three operations:\n\n * `write(Value)`\n * `read(Expression)`\n * `take(Expression)`\n\n`read` and `take` return the result of successfully matching the given\nexpression with a value from those values that have been, or will be,\nsupplied with `write`. `take` removes the value from the database;\n`read` leaves it there. Successive calls to `read` may not return the\nsame value -- the choice is non-deterministic.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsquaremo%2Fjsonspace","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsquaremo%2Fjsonspace","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsquaremo%2Fjsonspace/lists"}