Releases: frikky/schemaless
v0.0.13
v0.0.12
Full Changelog: v0.0.11...v0.0.12
More cache and file load fixes
v0.0.11
Added a way to map a item to a location in a JSON blob
Full Changelog: v0.0.9...v0.0.11
v0.0.10
Added reversing functions ReverseTranslateStrings(sourcemapstring, newmapstring)
and ReverseTranslate(sourcemap, newmap)
to handle finding value locations between two JSON bodies. Only handles strings for now
findKeys := `{
"findme": "This is the value to find",
"subkey": {
"findAnother": "This is another value to find",
"subsubkey": {
"findAnother2": "Amazing subsubkey to find"
},
"sublist": [
"This is a list",
"This is a list",
"Cool list item",
"This is a list"
],
"objectlist": [{
"key1": "This is a key"
},
{
"key1": "Another cool thing"
}]
}
}`
// Goal is to FIND the schemaless with key "findme" in the following data
findInData := `{
"key1": "This is the value to find",
"key2": "This is another value to find",
"key3": "Amazing subsubkey to find",
"key4": "Cool list item",
"key5": "Another cool thing"
}`
// Expected output
expectedOutput := `{
"key1": "findme",
"key2": "subkey.findAnother",
"key3": "subkey.subsubkey.findAnother2",
"key5": "subkey.objectlist.#1.key1",
"key4": "subkey.sublist.#2"
}`
reversed, err := ReverseTranslateStrings(findKeys, findInData)
v0.0.9
Cache & Goroutine overusage to make it faaaast
Full Changelog: v0.0.8...v0.0.9
v0.0.8
Org ID referencing to run with correct one at all times for shuffle.go
Full Changelog: v0.0.7...v0.0.8
v0.0.7
Made it work without internet by creating the files whether it works or not. No longer requires OpenAI key - just CAN use it.
Full Changelog: v0.0.6...v0.0.7
v0.0.6
v0.0.5
Minor fix
Full Changelog: v0.0.4...v0.0.5
v0.0.4
Full Changelog: v0.0.3...v0.0.4