-
Notifications
You must be signed in to change notification settings - Fork 2
Add more Fix functions. #100
Comments
In Catmandu
Bonus: |
What makes you think that? The cheat sheet says:
Well, yes, it seems that Metamorph's
Hm, other than the absence of arrays in Metamorph, I don't really see a difference. It just emits a repeated field instead of an actual array object. But thanks for your input! Let's wait and see what our hybrid "better than both worlds" beast will look like in the end ;) |
@TobiasNx: Sorry, forgot to assign you for functional review. |
This will take some time to review since this are a lot of functions |
Fine with me, but we should probably not make a habit of it :) |
|
These are expected (see #110; requires |
you are right, i didn't think about that. |
See comment above (use
|
In general, for inserting/transforming values with wildcards, see #102. |
Result shows |
Catmandu does it by default (can't be controlled by an option). |
Without "OTHERS" : [ {
"tools" : {
"1" : "hammer",
"2" : "saw",
"3" : "bow"
}
} ] So I would ascribe this to our array handling, not the Can you confirm? |
Yes that is true and I can confirm that. I have set up a separate test for moving arrays in object-arrays: The problem seems to be something if you have an array in an object of an array and if you move this. |
All in all, as discussed off board the function seem to work. All problems that are open are not related to the functions themselves:
Therefore: |
We're going to need some more Fix functions that aren't implemented yet. E.g.:
replace
replace_all
split
split_field
unique
uniq
I'm just going to go ahead and implement those plus a bunch more from the Catmandu Cheat Sheet.
Functional review: @TobiasNx
Code review: @fsteeg
The text was updated successfully, but these errors were encountered: