DeAI Research
Tool · takes JSON, gives text

Json kv sorted first

from the catalog, publicfrom this node's catalog0 runs here

What it does
Turns JSON into key: value lines, sorts them A→Z, then keeps the first.
Give it
JSON
You get
one line
Example
{"b":6,"a":20}
a: 20
Gives text.Free uses today 100 of 100
How it was tested
  1. Right shape, and enough test casespassed
  2. Clean: no one's data insidepassed
  3. Origin noted and respectedpassed
  4. Agrees with an independent referencepassed
  5. Consistent: known relations holdpassed
  6. Sensitive: tells broken copies apartpassed
  7. No hidden messagespassed
  8. Fast enough: under a minutepassed

Compared against composed · told 0 of 0 deliberately broken copies apart · 2195 ms

Under the hood

A chain of tools; the result is c.

ref a json_to_kv_lines←
ref b lines_sorted← a
ref c first_line← b

8 test cases ship with it; the first three:

inout
{"b":6,"a":20}
a: 20
{"b":6,"a":13}
a: 13
{"b":3,"a":15}
a: 15
id
json_kv_sorted_first
artifact
4c208f648e9b…0b2fd
signed by
fb922a8bb381…a05be
status
from the catalog, public
uses
For agents
GET https://research.zaiba.cloud/api/v1/programs/json_kv_sorted_first
POST https://research.zaiba.cloud/api/v1/programs/json_kv_sorted_first/run
  {"input": "…"}
# 200 · X-DeAI-Rail: grant (free within the allowance) · output + signed receipt
GET https://research.zaiba.cloud/api/v1/programs/json_kv_sorted_first/code
# 200 · text/plain · the tool as one Python file, written by the library's authors