Implementing a JSON Schema Validator from Scratch
dev.to·4d·
Discuss: DEV
Format Verification
Preview
Report Post

After two weeks of reading, I’ve finally finished the JSON Schema specifications (specifically the Core and Validation specs).

At this point, I have a pretty good idea of what a JSON Schema Validator should look like, and I have a couple of things to say about the specs.

My thoughts on the specs

Overall, I think the people who wrote the specs did a great job, pretty much every minute detail of the system was mentioned. How it should work, how the implementation should deal with certain cases, what the received schema should look like and what to do if it doesn’t, etc.

I did however face some difficulties reading the specs, this could be a result of a problem with the specs, or a skill issue on my part, since this is my first time going through a specification.

The diffic…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help