gruzintsev
2 weeks ago
122
2
Laravel

Certification question: when not use Serialization

Posted 2 weeks ago by gruzintsev

When I was passing the certification, I faced with this question:

When would you NOT use Serialization?

1. When you want to store values from an object in a JSON file on disk
2. When you want two Eloquent objects to communicate with each other
3. When you want JavaScript code to read a user profile from the server
4. When you want third-party apps to integrate with your app over HTTP

I chose 4

Do you think this is correct?

Please sign in or create an account to participate in this conversation.