Here I have some JSON data embedded inside a struct which itself is inside a column of an arrow table, and I deserialize the JSON at fromarrowstruct-time. This gives errors like the following (also with Symbol, not just string):
function JSON3.getvalue(::Type{T}, buf::SubArray{UInt8,1,<:Arrow.Primitive}, tape, tapeidx,
t) where {T}
return JSON3.getvalue(T, copy(buf), tape, tapeidx, t)
end
I guess something like that could be added to a JSON3<>Arrow package extension, but it might be better to have a more generic fallback for getvalue that doesn't need pointers.
Here I have some JSON data embedded inside a struct which itself is inside a column of an arrow table, and I deserialize the JSON at
fromarrowstruct
-time. This gives errors like the following (also with Symbol, not just string):I was able to workaround it with:
I guess something like that could be added to a JSON3<>Arrow package extension, but it might be better to have a more generic fallback for
getvalue
that doesn't need pointers.