#<https://raw.tools.bpbin.com>

1 messages · Page 1 of 1 (latest)

quiet nacelle
raven musk
#

I made a json search prototype a while back since there are just no existing solutions to parse through the insanely large dumps we have with factorio. It did work decently, just have not come around to integrating it here.

Copying individual entries as JSON is a neat idea, not sure how that interaction would work nicely tho since clicking things is already taken by collapsing/unfolding..

Showing the real types is something I had on my list but not thought about how to go about it just yet, guess I'll have to reuse my machine readable docs parser and integrate it into the json viewer decending through things

bitter kernel
#

lmao at the 3km dropdown menu trianglepupper

raven musk
#

yeah thats also a bit suboptimal

#

but it works and has native "search" by just pressing the starting keys of the mod you want

bitter kernel
#

Key*

raven musk
#

I guess that depends on your platform

#

firefox lets you type multiple

quiet nacelle
#

Real types will likely be a real pain for the cases of union types.

raven musk
#

ok yeah such a button could work

#

that could also let me get rid of the download button, thats so hacky anyways

#

pressing it doubles the memory consumption of the page 🫠

#

for the types I'll not detect what exact type something is based on values, I'd just write the expected type based on the tree

quiet nacelle
raven musk
#

hmm its tricky for arrays tho

raven musk
#

tho still doable, as long as there is no union with array[A] array[B]

quiet nacelle
raven musk
#

but that is also A | array[A]

slow thorn
#

This looks very handy. ❤️

raven musk
raven musk
#

getting there slowly

#

complex types are still a bit questionable