You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP

json-as

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

json-as - npm Package Versions

j
jairussw
published 1.1.7 •

Changelog

Source

2025-05-27 - 1.1.7

  • fix: bad boolean logic to decide whether to add 2nd break statement
j
jairussw
published 1.1.6 •

Changelog

Source

2025-05-23 - 1.1.6

  • fix: null and boolean fields would miscalculate offsets when deserializing
j
jairussw
published 1.1.5 •

Changelog

Source

2025-05-23 - 1.1.5

  • fix: index.js didn't point to correct file, thus creating a compiler crash
j
jairussw
published 1.1.4 •

Changelog

Source

2025-05-23 - 1.1.4

  • revert: grouping properties in favor of memory.compare
j
jairussw
published 1.1.3 •

Changelog

Source

2025-05-23 - 1.1.3

  • feat: group properties of structs before code generation
  • fix: break out of switch case after completion
  • ci: make compatible with act for local testing
j
jairussw
published 1.1.2 •

Changelog

Source

2025-05-22 - 1.1.2

  • fix: correct small typos in string value deserialization port
j
jairussw
published 1.1.1 •

Changelog

Source

2025-05-22 - 1.1.1

  • fix: remove random logs
j
jairussw
published 1.1.0 •

Changelog

Source

2025-05-22 - 1.1.0

  • fix: change _DESERIALIZE<T> to _JSON_T to avoid populating local scope
j
jairussw
published 1.0.9 •

Changelog

Source

2025-05-22 - 1.0.9

  • fix: #132
  • feat: allow base classes to use their child classes if the signatures match
  • perf: rewrite struct deserialization to be significantly faster
  • fix: #131 Generic classes with custom deserializer crashing
  • fix: #66 Throw error when additional keys are in JSON
j
jairussw
published 1.0.8 •

Changelog

Source

2025-05-21 - 1.0.8

  • fix: inline warnings on layer-2 serialize and deserialize functions
  • feat: fully support JSON.Obj and JSON.Box everywhere
  • fix: temp disable SIMD
  • feat: write fair benchmarks with v8 using jsvu