Skip to content

Commit

Permalink
final fix JSONText
Browse files Browse the repository at this point in the history
  • Loading branch information
hhaensel committed Oct 21, 2023
1 parent df08114 commit 80eb60b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/StippleJSONExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ isdefined(Base, :get_extension) ? using JSON : using ..JSON

JSON.JSONText(json::Stipple.JSONText) = JSON.JSONText(json.s)
JSON.show_json(io::JSON.Writer.CompactContext, ::JSON.Writer.CS, json::Stipple.JSONText) = write(io, json.s)
JSON.Writer.lower(json::Stipple.JSONText) = json.s
JSON.Writer.lower(json::Stipple.JSONText) = json

Stipple.JSONText(json::JSON.JSONText) = Stipple.JSONText(json.s)
@inline StructTypes.StructType(::Type{JSON.JSONText}) = JSON3.RawType()
Expand Down

0 comments on commit 80eb60b

Please sign in to comment.