Skip to content
SilverIce edited this page Nov 29, 2014 · 36 revisions

What is JContainers?

JContainers (JSON Containers or just JC) is data structures framework for Skyrim, an SKSE plugin. JContainers features:

  • Data structures
  • Import and export data to and from JSON files
  • Path resolving - simplifies access to nested data
  • Lua (in progress) - The main purpose is to minimize the amount of cumbersome Papyrus code needed to handle data by moving it into Lua scripts

The problem

  • No data structures. What we have is just stock array which is not dynamically resizeable, size limited by 128 items, may contain only single type of item (form, float, integer, string or boolean)
  • No associative containers
  • No way to build hierarchic data structures (combine data structures)
  • CK does not provide a way to store a custom data. This issue often turns into huge script files filled with lot of hardcode. JC offers JSON files what you can read data from.