• REGISTRATION REQUIREMENTS:

    Your username here MUST MATCH your XenForo username (connected to your XF license).

    Once you have registered here, then you need to start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

Updated JSON conversion

Bob

Developer
Staff member
as per: XF 2.1 - Welcome to XenForo 2.1 / Assorted improvements

Traditionally we have always used PHP's built-in serialization features as a way to encode data arrays as strings for database storage. Although there are still some benefits to using serialization, we have updated most of our schema to use JSON going forward.
From a development point of view, we would recommend developers follow suit and move their existing data to JSON if they haven't already and they are able to.

I have updated the Sportsbook schema to use JSON going forward as well.
 
Upvote 0
This suggestion has been implemented. Votes are no longer accepted.
Sorry for being so dumb. Would we see any difference or is it a benefit to coding?
Did you click on the LINK and read Chris's post about it? He explains what it is, what is does, why they did it. It applies to all content types within the XenForo Framework. Its mainly backend stuff, but in the future, new features will be available (like being able to query for data stored in JSON format).
 
Did you click on the LINK and read Chris's post about it? He explains what it is, what is does, why they did it. It applies to all content types within the XenForo Framework. Its mainly backend stuff, but in the future, new features will be available (like being able to query for data stored in JSON format).

Yeah I did but it was still Chinese to me.
 
Yeah I did but it was still Chinese to me.
Its a safer (more secure) and more modern way of storing specific types of Data (mainly arrays of data). Its not something that you need to learn about. Its just informational right now (and needs to be announced in case anyone has done any type of customization that uses fields that used to be serialized (as that data would need to be handled properly to use JSON).
 
Back
Top