Skip to content
This repository was archived by the owner on Jan 31, 2025. It is now read-only.

Impl serializer interface and json serializer - #18

Merged
iankuan merged 3 commits into
USCC-LAB:feature/serializationfrom
amikai:feature/serialization
Oct 8, 2017
Merged

Impl serializer interface and json serializer#18
iankuan merged 3 commits into
USCC-LAB:feature/serializationfrom
amikai:feature/serialization

Conversation

@amikai

@amikaiamikai commented Aug 21, 2017

Copy link
Copy Markdown
Member

This PR is add a feature which describes in #12.
The three thing i do in this PR:

  1. Implement the serializer interface.
  2. Implement the json format serializer.
  3. Write unit test for above.

@iankuan

Copy link
Copy Markdown
Contributor

It was almost done, isn't it ? Just give me some unittests.

However, you could read this material, How to write a good commit message(Chinese). I'm not saying you did a bad job. Just have something you can improve.

@iankuaniankuan mentioned this pull request Oct 4, 2017
Open
@iankuan

Copy link
Copy Markdown
Contributor

@as23041248 , please rebase your branch. We import many features like CI and Makefile, which can test your code automatically.

@iankuan
iankuan self-requested a review October 5, 2017 07:25

@iankuaniankuan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Go ahead!

@amikaiamikai left a comment

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

YOYO
test

@amikai
amikai requested a review from iankuanOctober 5, 2017 07:35
@amikai
amikaiforce-pushed the feature/serialization branch from e29ae6e to 9a682b6CompareOctober 5, 2017 20:42

@iankuaniankuan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems great. By the way, I notice that this branch feature/serialization doesn't catch up mainline. Please rebasing it after few minutes.

@amikai
amikaiforce-pushed the feature/serialization branch 2 times, most recently from fd0b9d1 to 4d1f642CompareOctober 6, 2017 15:45

@iankuaniankuan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You didn't rebase completely. Did you try pull XXX --rebase? The three of last shouldn't appear in your commit msg.

@amikai
amikai requested a review from iankuanOctober 7, 2017 02:28

@iankuaniankuan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No fixup.

@amikai
amikaiforce-pushed the feature/serialization branch 2 times, most recently from 7a18341 to 3c2c250CompareOctober 7, 2017 02:44
@amikai
amikai requested review from iankuan and removed request for iankuanOctober 7, 2017 02:44
The serializer in Json convert python dict to string(raw data),
and deserializer convert string(raw data) to python dict.
@amikai
amikaiforce-pushed the feature/serialization branch from 3c2c250 to 884ea53CompareOctober 7, 2017 03:17
@amikai
amikai requested a review from iankuanOctober 7, 2017 03:19

@iankuaniankuan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Meld last two commits into one. Hint: "rebase -i" and then "-f fixup".

Test json serializer by converting between python dict and raw json
data.
@amikai
amikaiforce-pushed the feature/serialization branch from 884ea53 to 22acb5cCompareOctober 7, 2017 05:42
@amikaiamikai changed the title [WIP] Impl serializer base class.Impl serializer interface and json serializerOct 7, 2017
@iankuan
iankuan merged commit 2c1e73a into USCC-LAB:feature/serializationOct 8, 2017
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@amikai@iankuan